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)
The most interesting part of Pest 5 isn’t that it supports AI agents. It’s that agents can now verify their own changes inside the real test suite. Code generation is becoming cheap; reliable feedback is becoming the real engineering advantage. #PHP #PestPHP #AI
6
67
I love the new human-in-the-loop approval in Laravel AI SDK. Giving agents the ability to act is powerful, but letting us decide when they must stop and ask feels like the right balance between autonomy and trust. #Laravel #AI #AIAgents
1
46
Laravel Addressable began as a simple way to attach addresses to Eloquent models. With v2.4, it can also understand where they are. 🗺️ Geocoding, reverse geocoding, automatic coordinates, fallback drivers and queued jobs. github.com/masterix21/larave… #Laravel #PHP #Geocoding
29
Happy SysAdmin Day to all of us who keep everything running, fix problems nobody knew existed, and hear “I didn’t touch anything” at least once a day. 😅 May our backups be restorable, our servers stay online, and our Friday deployments be boring. 🖥️☕️ #SysAdminDay #SysAdmin #IT #DevOps #TechLife
3
59
Your SaaS says a workspace has used 9 of 10 seats. The database contains 11 members. Nobody bypassed the plan. Your entitlement counter simply missed an import, deletion, retry, or bulk update. Now “remaining capacity” is fiction. Here’s where the drift starts. 🧵
1
12
Two sources of truth cause this: • members table • mutable usage counter Every create, import, delete and bulk edit must update both. One missed path creates drift. If usage can be derived from domain data, compute it there. Save counters for things truly consumed. ⚠️
1
9
1/7 Your desktop or on-premise app must keep working without internet. But the moment license validation depends on your API, a network outage can lock out paying customers. So you cache “licensed = true” locally. That creates a different problem. 🧵 #laravel #licensing
🤖 Made with AI
1
37
2/7 A local boolean, expiry date, or JSON file is not a license check. It is user-controlled state. Anyone with filesystem access can copy it, edit it, restore an old version, or patch the branch that reads it.
1
8
🚀 laravel-entitlements 1.3.0 is out! Two new entitlement strategies: 🧮 Computed — usage resolved by your own app code ✅ Boolean — on/off feature flags via allows() Plus: boolean items render as toggles in Filament. A thread 🧵👇 #laravel #php
7
1
311
🧮 Computed strategy Sometimes usage doesn't live in your DB: API calls, storage, seats managed by external systems. Register a resolver and let the package do the math: Entitlements::resolveUsageUsing( Feature::ApiCalls, fn ($team) => Metrics::callsFor($team) );
1
13
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.
17
Replying to @laravel
@laravelphp starter kits are good but, why no unstyled kit? No css, no Js. Only blade and html: I think it could be the real start point for any next application.
18
Should we consider laravel-websockets abandoned? @marcelpociot @freekmurze
1
47
Replying to @taylorotwell
@taylorotwell @driesvints I think Laravel Cashier should be payment provider agnostic (as Laravel Socialite): it should help the developers to use a custom provider easily, only for their country's users, for example.
1
836
Found a way to use #Laravel Scout with #filamentadmin, preserving the search relevancy (using MySQL)
1
4
27
4,219
I'm in love with @pestphp tests <3 Thanks @enunomaduro
1
4
Replying to @beyondcode
@beyondcode is the Expose EU-1 server offline? Using EU-1, expose returns: Could not connect to the server. HTTP/1.1 502 Bad Gateway Server: Caddy Date: Thu, 28 Jul 2022 10:27:35 GMT Content-Length: 0 US-1 works.
1
Replying to @Apple
@Apple The connection hangs to loading status on Mac Mini using the Homepod Mini: killing the helper, the music starts again. Same issue with the MacBook Pro. Please fix. sudo killall -9 AirPlayXPCHelper coreaudiod
1
I bought right now laravel-comments by @spatie_be It is like a dose and I can't get used to their superb quality. Thanks.
1
3
4
Italy… what else? – at Stalettì, Calabria