
Luca Longo retweeted
🔗 Your Laravel queue workers keep 8 copies of your app in memory
dev.to/tevkert/your-laravel-…
#laravel #performance #spatie #memory #queues
Luca Longo retweeted
Laravel Licensing by @masterix21 is a licensing management package for Laravel, featuring offline verification, seat management, cryptographic key rotation & more 📦️ - madewithlaravel.com/laravel-…
Luca Longo retweeted
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…
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
Laravel Entitlements handles this with ComputedStrategy: plan capacity, usage resolved from domain data. It’s read-only, so no second counter can drift.
What could a SaaS compute instead? 🔍
github.com/masterix21/larave…
#Laravel #PHP #SaaS #OpenSource
20
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
6/7 I built Laravel Licensing around this model:
• PASETO v4 tokens signed with Ed25519
• offline verification
• root-signed, rotatable signing keys
• seat limits and grace periods
• isolated keys for multiple products
1
74
7/7 Laravel Licensing handles the server lifecycle. Its companion client validates licenses, registers usage and protects routes—even offline.
Server: github.com/masterix21/larave…
Client: github.com/masterix21/larave…
12
✅ Boolean strategy
Not everything is a quota. Some entitlements are just flags: "has analytics", "can use SSO".
if (Entitlements::allows($team, Feature::Analytics)) { ... }
No quantities, no usage tracking — and calling can() on a boolean type throws, so the two APIs can't be mixed up.
1
12
🎛️ In Filament, boolean plan items now render as a simple "Enabled" toggle — no more quantity inputs, with the 0/1 invariant enforced all the way down to plan assignment.
Full changelog:
github.com/masterix21/larave…
11




