
Web Developer (Mostly PHP and JavaScript) - Laravel and Vue enthusiast.
The Hague, The Netherlands
Joined February 2013
- Tweets914
- Following267
- Followers990
- Likes1.6K
A bit delayed, but I just tagged Laravel 11 support on the Laravel Country Flags package! github.com/stidges/laravel-c…
1
100
I like using constructor property promotion in my #Laravel job classes, but I didn't like using it in combination with withoutRelations on Eloquent models.
TIL you can add a #[WithoutRelations] attribute to do this. You can even add it to the class to apply it for all models!
140
The power of database indexing always amazes me. Made a cronjob that previously took 5+ minutes to run finish within 5 seconds just by creating the right indexes 🤯
2
9
Just released a new version of my Laravel Mix @mjmlio package to support Laravel Mix 6 and Webpack 5! github.com/stidges/laravel-m…
2
If you're interested in getting a free @laracasts subscription you can still drop a comment in the quoted tweet!
🎁 To give back to the amazing @laravelphp community, I want to give away 2 one month @laracasts subscriptions so you can hit the ground running in 2021!
No need to follow/retweet (unless you want to!), just drop a reply and I'll pick the winners on Monday.
Merry Christmas! 🎄
🎁 To give back to the amazing @laravelphp community, I want to give away 2 one month @laracasts subscriptions so you can hit the ground running in 2021!
No need to follow/retweet (unless you want to!), just drop a reply and I'll pick the winners on Monday.
Merry Christmas! 🎄
@abrardev99 @franckmercado @DevEliCruz @DrAnax send me the e-mail address that you'd like to use in my DM (should be open) and I'll send you the subscription :)
3
4
Every time I'm working with Laravel in PhpStorm I find something super useful in @laravel_idea that improves my workflow - such a great plugin!
Does anyone else using @firefox experience issues with colors inside of code blocks? For some reason text inside <pre>/<code> tags is always black, regardless of the color set in the CSS. On this page for example: locutus.io/php/network/ip2lo…
TIL that if you're using packages from unpkg in combination with subresource integrity, you can easily find the hash by appending ?meta to the URL, e.g. unpkg.com/[email protected]/d…
This looks like a great tool for working on responsive web designs: manojvivek.github.io/respons…
1
I recently discovered the `form` attribute on HTML form elements, which allows you specify which form they belong to, even when they are placed somewhere else in the document. Great for things like confirmation modals and delete buttons!
Just published a new version of my Laravel Country Flags package to support Laravel 7! github.com/stidges/laravel-c…
Just discovered this package while looking for an easy way to work with files in PHPUnit tests without touching the filesystem. Very useful! github.com/bovigo/vfsStream
A reminder that disabling pasting into a password field and setting low maximum length limits for it is horrible for both the security and the UX of your app!
2
I have just published v2 of my Laravel Mix MJML plugin with a bunch of fixes and improvements! If you are using it be sure to check out the release notes for any breaking changes: github.com/stidges/laravel-m…
I feel like I run into this issue with every @laravelphp project I work on, so I'm wondering: how do you handle optional route (group) prefixes while still being able to leverage route caching and named routes?
1
So much effort to change the text color of ONE thing in an old project: change the SCSS, try to compile, find out libsass isn't compiled for my current Node version, try a reinstall, libsass fails to build... Wishing this project used @tailwindcss 😔
1
Quick tip if you're running webpack (in my case Laravel Mix) and it's using a ton of CPU when watching: add your node_modules directory to the watcher `ignored` list. My CPU usage went from 100%+ to less than 3% 😲
I was trying to figure out how to add some audit logging in my app when authorization fails, and of course @laravelphp has a `Gate::after()` callback which allows me to do just that ♥️



