Luca Longo (@masterix21) header
Luca Longo (@masterix21) profile picture
Catanzaro - Calabria - Italy
Joined June 2009
Photo by Luca Longo (@masterix21)Photo by Luca Longo (@masterix21)Photo by Luca Longo (@masterix21)Photo by Luca Longo (@masterix21)Photo by Luca Longo (@masterix21)Photo by Luca Longo (@masterix21)Photo by Luca Longo (@masterix21)Photo by Luca Longo (@masterix21)Photo by Luca Longo (@masterix21)Photo by Luca Longo (@masterix21)
Laravel Licensing by @masterix21 is a licensing management package for Laravel, featuring offline verification, seat management, cryptographic key rotation & more 📦️ - madewithlaravel.com/laravel-…
1
8
36
1,961
The Laravel framework now has first-party support for migrating your files from one object store to another as data is requested. • S3 → R2 • R2 → B2 • FTP → S3 • (etc) Like Cloudflare's Sippy, but vendor agnostic. I wrote all about it here! laravel.com/blog/object-stor…
21
48
8
431
51,426
Laravel developers now get websockets setup in ~40 seconds, for free, using vask.dev and the new composer package 🔥 artisan vask:install will auth with vask.dev, give you a websocket app, and set those details in your .env file so you're ready to go 💪 Coming soon: your agent will register for you, no OAuth needed 😅
10
16
2
158
41,662
If you use Laravel Valet and Safari feels slow on .test domains, the fix is simple. Safari tries IPv6 first, times out, then falls back to IPv4. Just tell dnsmasq to also resolve .test to the IPv6 loopback address and restart it. Thanks to my colleague @rubenvanassche for this one.
7
10
114
7,775
🧑‍💻Created a little package for Laravel Boost to install the @spatie_be guidelines in your @laravelphp project
4
11
154
7,581
A few things I've noticed as all devs write code with AI. When you write foundational / architectural code of a new project by hand, you "feel" the code pushing back if your abstraction isn't right. You feel when something is harder than it should be. The code is telling you it's not in the right shape. Good engineers are sensitive to this. When you're using an LLM, you keep pushing right through this in a way that feels like you're making progress, and it may even be directionally correct in a sense, but the underlying foundation of it all is actually bad in a way that either kills progress of the LLM later as it buckles under the complexity it has created or destroys your ability to maintain the code long term. Related to this, I see a general restlessness with just sitting and thinking about a problem for a while. As I've been working on a new library here at Laravel, there have been days where it feels like I mainly just stare at my screen thinking about something. When Claude Code is at your fingertips, it's tempting to just start yapping into the terminal and watching code come out the other end. Again, directionally correct in some ways, but often doesn't land on the elegant solution that is waiting to be discovered.
261
466
124
3,901
494,196
this package will save you if you need to export a large amount of data it exports 10,000 rows in 3 seconds using less than 3MB of memory the best when it comes to performance meet rap2hpoutre/fast-excel
13
52
1
470
23,510
🔥 Here are some of the most basic monitoring techniques you can start using immediately: - Spatie laravel-health - Error tracking - Synthetic checks It takes ~30 minutes to set up these. 🧵 Keep Reading
3
22
194
12,840
The new Event::defer() method allows you to delay the dispatching of all events until after a given closure has been executed. ⌛ Thanks @dbpolito! 🙏
6
29
287
16,016
13. Calabria Tropea was named "Most beautiful village in Italy" for 2021.
7
80
7
1,960
175,006
🔑 There’s something deeply enjoyable when logging in with a passkey. No email/password to type, no redirect to third parties, superfast, … 📦 Creating a little something to make this super easy in #Laravel. spatie.be/docs/laravel-passk… 🫡 Will blog about it tomorrow
6
15
198
10,467
Some secret design sauce — never use gray borders with shadows. Use a semi-transparent outline instead, so the bottom edge blends with the shadow and gets darker instead of turning into mud. Subtle, but once you see it you can't unsee it.
49
109
11
3,298
220,688
Beautiful themes for shadcn/ui — tweakcn tweakcn.com/editor/theme
2
12
91
5,434
The latest IDE Helper release (v3.5) now provides a lot more PHPStorm autocomplete than before, inspired by the VS Code plugin, using Advanced Metadata for @phpstorm Run php artisan ide-helper:meta to: - Autocomplete arguments for config(), view(), env(), route(), trans() etc - Fix return type for Config (array/string etc) and Container - Override request()->user() with actual User model
I spent some time testing the VS Code extension, looks promising. Curious how they approach this compared to Laravel IDE Helper, so here are a few things that I noticed in the beta: 1. They generate a helper file for the Model autocompletion similar to what ide-helper:models does when writing to a separate file, but store it in the vendor dir. (1/5)
3
22
151
15,085
The New URI Helper in Laravel by @taylorotwell 🔥
3
18
2
146
7,874
When you have database stickiness enabled and your queue worker executes a job, it will flip to your 'write' connection when an affecting SQL statement sent, as you would expect. However, this state is not reset on subsequent jobs on the same queue process as it normally is during the typical HTTP request lifecycle (due to the process being terminated). This means from that point on, your queue worker will not use your read replica, until your worker dies or is restarted. To resolve this, you can register a listener on the queue Looping event to reset it back, so every queued job will start from using the read replica.
7
17
2
146
22,489