Profile avatar
matthewpoulter.co.za
⚙️ Engineering Manager at VCSW 🛠️ Laravel (VILT/RILT, Filament) 🌍 South African living in the Netherlands 🎺 Trombonist (why is there no trombone emoji?) 🏃 parkrun enthusiast https://pinkary.com/@mdpoulter
66 posts 187 followers 608 following
Regular Contributor
Active Commenter
comment in response to post
Always
comment in response to post
Same! Current phase is Phil Collins for me... 😄
comment in response to post
Right feels more intuitive to me
comment in response to post
That's neat! I could also see it being useful with the Laravel HTTP Client
comment in response to post
Yes, all the time in local development. We've got different seeders for building up different scenarios (essentially one per domain)
comment in response to post
Very nice! Any chance MariaDB is on the roadmap?
comment in response to post
🙋‍♂️
comment in response to post
This happens way too often to me, despite my best intentions to do it earlier 😅
comment in response to post
📌
comment in response to post
And if it's a big dataset, we'll throw a `lazyById()` before the `each`.
comment in response to post
We use higher-order proxies quite often for this: ``` Model::query() ->where('field', 'value') ->each ->update(['field' => 'newvalue']); ```
comment in response to post
I disabled all notifications on my phone a few years ago and found my productivity and attention span almost immediately increased. Can highly recommend it!
comment in response to post
📌
comment in response to post
Yep, same!
comment in response to post
I had the same thought, and it worked a lot better than I expected!
comment in response to post
That's tidy! 💅
comment in response to post
This one seems to surface a decent amount: bsky.app/profile/did:...
comment in response to post
Yep, there are lots of different but equivalent options since PHP 8.1: www.php.net/manual/en/fu...
comment in response to post
Last week, as Volunteer Coordinator, so I felt like I was cheating 😅
comment in response to post
I know it's supported for non-static methods: ``` Route::get('/posts', (new PostController)->index(...)); ```
comment in response to post
Depends on the application for me. Inertia for larger, SaaS type applications. Livewire for smaller applications that just need a bit of reactivity. Livewire is also great for prototyping as a result.
comment in response to post
Which headers are you referring to specifically, as it may be the nginx config within Forge which is adding the headers? I ran into that the other day...
comment in response to post
You can use the `toMail()` method in a Notification class to customise the subject and/or message based on any conditions you set: laravel.com/docs/11.x/no...
comment in response to post
A common thought of mine, applied to many different situations: The past happened, regardless of events that happened since that may have tainted it. Better to preserve history than pretend it didn't happen.
comment in response to post
Makes seeing the keyword options much more clearly 👍
comment in response to post
I haven't tested it myself, but I assume you could follow similar steps to the local-only Telescope install: laravel.com/docs/11.x/te...
comment in response to post
The longer it gets, the more nervous I get 😅
comment in response to post
📌
comment in response to post
📌
comment in response to post
📌
comment in response to post
Names routes always, to keep it consistent with Ziggy on the frontend
comment in response to post
📌
comment in response to post
Yeah, certainly not the most obvious thing!
comment in response to post
Would you consider using a Cloudflare provided certificate instead? It's a 7 year old article, but this still works: medium.com/@taylorotwel...
comment in response to post
If I'm not mistaken, the throwable is passed to the default closure, so it depends where you need it 😊
comment in response to post
Would rescue() not be sufficient for this? laravel.com/docs/11.x/he...