August Laravel Worldwide Meetup! Join @andyhinkle.com for Keeping Laravel Elegant When Business Gets Messy - tips for writing clean, maintainable Laravel code when deadlines are tight.
π
Aug 26th, 12PM EDT
meetup.laravel.com
August Laravel Worldwide Meetup! Join @andyhinkle.com for Keeping Laravel Elegant When Business Gets Messy - tips for writing clean, maintainable Laravel code when deadlines are tight.
π
Aug 26th, 12PM EDT
meetup.laravel.com
The State Of Laravel 2025 survey has started!
You can now participate to identify how the ecosystem changed over the past 12 months!
Please RT for reach β€οΈ
stateoflaravel.com/participate?...
My wife and I have been looking for an excuse to go back to NYC just to have those tacos again. Honestly, itβs a good enough excuse on its own.
Added this to my prompt as a joke - now itβs standard:
βWrite this like Taylor Otwell would. Clean, expressive, elegant - no fluff.β
Just upgraded a site from Laravel 11 to 12 via a Dependabot PR β no code changes, tests all pass, zero issues, smooth as butter. Love these kinds of upgrades.
RIP Around.co π (EoL) Our daily standups always wrapped up with a 5-minute Bomberman battle between the devsβpure chaos and competition.
Anyone have a go-to breakout game with their team as the day starts?
Found this gem while rescuing an app today
β laravel php artisan stub:publish β Which stubs would you like to publish? βββββββββββββββββββββββ β migration.create.stub β β migration.stub β β migration.update.stub β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ INFO Stubs published successfully.
Ever used the `stub:publish` command when you only needed a few stubs but ended up publishing all ~50 customizable ones?
Iβm working on a PR to address this by adding a selection menu so you can choose exactly which stubs to publish. Would love to hear any feedback!
github.com/laravel/fram...
a man of his word.
Sameβ apparently, 2 meters is the height for walking into every spider web on the planet.
Risky click. haha
Whew! Congrats dude!
Now, these are the takes Iβm here for!
Thatβs my kidβalready making solid life choices.
Same! ASG-89 Shotgun has been OP for zombies.
Mostest Overly Technical Sewing Engineering
Linkin Park's new album is such a banger. Feels like I'm in high school again.
I love this "TIL" series on your site. Great idea. Keep it up man!
TIL you can instantiate a class via constructor property promotion in PHP: travisnorthcutt.com/til/php-cons...
Ah, I was type hinting with public Carbon ..., which reset the date. Removing the type hint fixed the issue. Interesting! Thanks so much for your helpβreally appreciate it!
Hmm, shoot - gives me today, equivalent to writing `new Carbon()` instead of the passed date. Super nice find though!
Whoa! Nice find! Is it meant to be used this way? haha
Haha yeah, you go it! Or perhaps something like an attribute on the constructor. π€
Still smells a bit funny haha but it's nice that I don't have to type it again.
<?php ... // Current public Carbon startDate; public function __construct() { $this->startDate = new Carbon('2024-01-01'); } ... // Instead, Would be nice: public Carbon startDate = new Carbon('2024-01-01'); // or #[InstantiateOnConstruct] public Carbon startDate = new Carbon('2024-01-01');
I think about this often π€ β itβd be great to see something like this in a future version of PHPβinstantiation on property declaration. I get *why* we do this, but the number of constructors I could clean up... π§Ή