Luca Longo

772 posts

Luca Longo banner
Luca Longo

Luca Longo

@masterix21

Catanzaro - Calabria - Italy Katılım Haziran 2009
271 Takip Edilen136 Takipçiler
Luca Longo retweetledi
Ashley Hindle
Ashley Hindle@ashleyhindle·
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 😅
English
10
17
161
41.4K
Luca Longo
Luca Longo@masterix21·
6/6 Plus: license scopes for multi-product isolation, template-based licensing with inheritance, HMAC-fingerprinted trials, append-only audit log, rate-limited API. ⭐ github.com/masterix21/lar…
English
0
0
0
4
Luca Longo
Luca Longo@masterix21·
Most "licensing" packages assume you're always online. laravel-licensing doesn't. PASETO tokens signed by a rotatable signing key, chained to a root you keep cold. Polymorphic seats. Laravel 12+. github.com/masterix21/lar… #laravel
English
6
0
0
13
Luca Longo
Luca Longo@masterix21·
5/6 Key compromised at 3am? One command: php artisan licensing:keys:rotate --reason=compromised Old `kid` revoked, new signing key issued and chained to root, public bundle republished. Zero client config changes — same root, new chain.
English
0
0
0
12
Luca Longo
Luca Longo@masterix21·
4/6 Issue an offline token for a device fingerprint: php artisan licensing:offline:issue --license=KEY --fingerprint=device-abc --ttl=7d Client verifies against the public bundle. No phone-home for the next 7 days.
English
0
0
0
9
Luca Longo
Luca Longo@masterix21·
3/6 Bind a license to any model — Workspace, Account, Device, anything: public function license() { return $this->morphOne(License::class, 'licensable'); } Each seat = one LicenseUsage row. Concurrency-safe with pessimistic locks.
English
0
0
0
6
Luca Longo
Luca Longo@masterix21·
2/6 The trust chain is two-level: - Root key — signs nothing but signing-key certs. Stays cold. - Signing key — short-lived, has a `kid`, signs every offline token. Rotate the signing key whenever you want. Clients keep validating against the same root.
English
0
0
0
10
Luca Longo
Luca Longo@masterix21·
1/6 Why does this matter? Desktop apps, on-prem installs, air-gapped envs, flaky networks. If your license check 500s when AWS does, your paying customers can't open the app they paid for. Public-key crypto fixes this. The client only needs the root public key.
English
0
0
0
16
Luca Longo retweetledi
Freek Van der Herten
Freek Van der Herten@freekmurze·
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.
Freek Van der Herten tweet media
English
7
10
115
7.7K
Luca Longo retweetledi
Taylor Otwell
Taylor Otwell@taylorotwell·
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.
English
269
475
3.9K
489.3K
Luca Longo retweetledi
Martin Joo
Martin Joo@mmartin_joo·
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
Martin Joo tweet media
English
13
52
479
23.4K
Luca Longo retweetledi
Martin Joo
Martin Joo@mmartin_joo·
🔥 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
Martin Joo tweet media
English
3
22
198
12.8K
Luca Longo retweetledi
Taylor Otwell
Taylor Otwell@taylorotwell·
The new Event::defer() method allows you to delay the dispatching of all events until after a given closure has been executed. ⌛ Thanks @dbpolito! 🙏
Taylor Otwell tweet media
English
6
30
293
16K
Luca Longo retweetledi
James Lucas
James Lucas@JamesLucasIT·
13. Calabria Tropea was named "Most beautiful village in Italy" for 2021.
English
7
82
2K
174.7K
Luca Longo retweetledi
Freek Van der Herten
Freek Van der Herten@freekmurze·
🔑 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-p… 🫡 Will blog about it tomorrow
English
6
15
201
10.4K
Luca Longo retweetledi
Adam Wathan
Adam Wathan@adamwathan·
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.
Adam Wathan tweet media
English
49
109
3.3K
220.2K