Toots for denniskoch@phpc.social account

Written by Dennis Koch on 2024-12-28 at 07:21

If I want to create a Linter/Fixer to enforce some rules like class/file naming, folder structure, code formatting for Laravel, what would be the best tool to built upon? PHP-CS-Fixer, Rector, Pest? I feel like they all have some overlapping features for this.

I know Tighten's Tlint but seems like they wrote their tool from scratch instead of using an existing library.

[#]php #linter

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-12-21 at 04:22

Looking for a tool to compare different routes (visualization, length, duration) on a single map. Bonus if I can plan multi-stop trips and see how long each segment is.

It’s tedious to compare via Google Maps. I saw someone mentioning a tool that he built where you can just write from to in a textfield and it plots on the map.

[#]maps #mapstodon #routeplanning

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-11-13 at 08:49

How do people handle too many posts in their timeline?

I want to keep up with the people here, but spend less time on social media in general. Many days there are 300 new posts in my timeline. So it takes a lot of time to go through them or I have FOMO when scrolling to the top.

Maybe more lists would be an option?

[#]fedihelp

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-11-12 at 09:30

The only one of my Laravel packages that I install in every project has zero stars. Either it's only me or people haven't seen it yet. So I thought I share it here:

It's called "Laravel Database State" and it's like Seeders, but for production.

https://github.com/pxlrbt/laravel-database-state

[#]Laravel #opensource #package

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-09-25 at 09:03

From time to time I still felt the urge to check Twitter and see whether I missed some tech news. There were 1-2 interesting posts and then I drifted off into some drama and always left with a bad feeling.

So instead of just logging out I just blocked it via /etc/hosts file. Let's see whether that helps πŸ˜…

[#]Twitter

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-09-21 at 12:09

People do anything so they do not have to setup Xdebug.

[#]php #xdebug

https://bird.makeup/users/marcelpociot/statuses/1835981001987682479

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-31 at 13:13

I feel like I spent more time on trying to get Puppeteer to work probably than manually testing all the pages for issues πŸ™ˆ

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-31 at 12:55

One of my side projects is using Puppeteer to compare screenshots of our pages before/after an update. But I struggle for ages now, to get consistent results from Puppeteer. Most often it appears to use a different zoom, but the config and the page are exactly the same. Sometimes it applies different CSS breakpoints and even mixes them. I'm so confused πŸ™ˆ

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-29 at 19:30

  1. Ah I forgot: The people complaining about this not being free. I doubt they are on Mastodon, but guess what: People need to pay rent and get food on their table.

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-29 at 19:23

  1. I don't like that most of the reactions to this were "Just use X". Usually all this tools have a different style or use-case and therefore a different audience.

  1. Not sure why he branded this as "Livewire UI" when it's way more versatile. Just because people know Livewire?

  1. Just to make sure: I respect Caleb and the work he has done and still does for the Laravel community. But why was this talk called "Livewire Keynote"? And: should we have 30min talks for paid products on conferences?

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-29 at 19:18

Some thoughts on this:

  1. I think the landing page without further explanation was a mistake. Because people that couldn't see the talk thought it's about some buttons and form elements for 99$/year.

  1. I guess with the explanation he made it up again, but I feel like this "hype marketing" bit him as people where more disappointed – me included – because they might have expected something else.

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-29 at 19:13

Everyone that was waiting for Caleb Porzio's FluxUI and just saw the landing page without seeing the Laracon "Livewire Keynote" should watch his explanation on Twitter:

https://x.com/calebporzio/status/1829188535066472506

[#]Laracon #LaraconUS #FluxUI

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-28 at 11:24

Three hours until #LaraconUS day 2. Let's see what Caleb packed into 30mins of Livewire Keynote. I hope this is about more than β€žFluxβ€œ (https://fluxui.dev/)

[#]Laravel #Laracon

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-27 at 22:07

[#]Laravel #LaraconUS

I hoped for some more Framework features.

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-17 at 15:44

After a little testing I noticed that it's not Livewire that looses my data between the two components but Laravel's Validator as soon as I added a wildcard Validation rule for that data.

After a bit of digging I saw that the Validator initializes the data array matching the rules with null before filling it with data. As the original data is an object which is passed by reference that data was set to null, too.

2/3

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-17 at 15:44

I think this only applies to wildcard rules like my_array.*.name but be careful or just avoid validating objects.

3/3

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-17 at 15:44

[#]til Don't use Laravel's Validator for objects

Yesterday I left work with a good feeling as I completed part of a feature before I left. Today I came back and after an hour noticed that my data isn't saving correctly anymore.

I first suspected that I broke something with Livewire again. I used Wireables instead of an array to have a typed object and had some issues in the beginning.

1/3

[#]laravel #livewire #php

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-06 at 18:11

Next product killed by Google is Chromecast.

https://blog.google/products/google-nest/chromecast-history/

[#]google #killedbygoogle

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-08-06 at 16:01

Interesting new HTMX alternative that builds on top of Alpine.js and it's conventions.

More lightweight than Livewire and allows progressive enhancement. Need to try this:

https://alpine-ajax.js.org/reference/#installation

[#]Livewire #AlpineJS #htmx

=> More informations about this toot | View the thread

Written by Dennis Koch on 2024-07-24 at 11:19

Launched my second paid FilamentPHP plugin πŸŽ‰

Spotlight Pro was on my list for a loong time. The free Spotlight plugin was one of my earliest Filament contributions (2022) and relied on the awesome work of Philo's WireElements Spotlight. I always wanted something something more powerful that fit's Filaments design.

So, I spent a whole week building my own Spotlight component and integrated it with Filament.

https://filament.pxlrbt.de/spotlight-pro/

[#]filamentphp #filament #laravel

=> View attached media

=> More informations about this toot | View the thread

=> This profile with reblog | Go to denniskoch@phpc.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109672377340167547
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
364.04303 milliseconds
Gemini-to-HTML Time
8.806575 milliseconds

This content has been proxied by September (ba2dc).