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
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
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
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
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 π
=> More informations about this toot | View the thread
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
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
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
=> More informations about this toot | View the thread
=> More informations about this toot | View the thread
Some thoughts on this:
=> More informations about this toot | View the thread
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
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
[#]Laravel #LaraconUS
I hoped for some more Framework features.
=> More informations about this toot | View the thread
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
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
[#]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
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
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
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
=> More informations about this toot | View the thread
=> This profile with reblog | Go to denniskoch@phpc.social account This content has been proxied by September (ba2dc).Proxy Information
text/gemini