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.
Rewrite from scratch
Assuming a MyEntity static entity with no id 25:
MyEntity::get(25); // returns null
MyEntity::get(25, true); // returns empty instance of MyEntity
How can I help you explore Laravel packages today?