byscripts/static-entity
Static Entity provides model/entity-like behavior backed by static arrays. Define constants and a dataset to access rich objects without a database—ideal for enums, reference lists, and small lookup tables in PHP/Laravel apps.
User::find(1)) while preserving existing database interactions.Product, Order) are needed quickly. Cuts weeks off implementation timelines for repetitive data models.Observers or SoftDeletes).For Executives:
"This package lets us deliver internal tools or admin panels 30–50% faster by automating boilerplate entity classes—think of it as ‘Laravel scaffolding on steroids.’ For example, instead of writing 100 lines of code to fetch and validate a Customer record, we’d use a single static class. It’s a low-risk way to modernize legacy systems or prototype features quickly, with minimal dev overhead. The tradeoff? We’d avoid it for customer-facing APIs or high-scale services, but for internal dashboards or migration projects, it’s a $0 cost with $100K+ time savings."
For Engineering: *"Static-entity is a temporary abstraction layer for:
User, Product, etc., in hours instead of days.For Developers: *"This is like Eloquent, but dumb and fast—good for: ✅ Quick CRUD in admin panels. ✅ Gluing legacy DBs into Laravel. ✅ Avoiding Eloquent’s magic if you hate it. ❌ Not for:
class User extends StaticEntity { protected $table = 'users'; }User::find(1) or User::all().How can I help you explore Laravel packages today?