malsanyang/laravel-model-tools
Helper traits and utilities for Laravel Eloquent models that cut boilerplate around common model tasks, with a simple, convention-friendly API.
/pages/1, /pages/2) is a low-effort, high-signal security win that reduces scraping and IDOR-adjacent exposure. The reference() / referenceOrFail() helpers plus reference-based route binding make this a convention rather than a per-controller discipline.model-tools:reference-migration pages), adoption can be incremental and prioritized: start with resources exposed to unauthenticated or cross-tenant users (share links, public profiles, invoices, downloads), defer internal admin-only tables.BaseModel option (soft deletes, datetime casts, HasReference) is a candidate internal standard, replacing N slightly-different base models across services.Consider it when:
Look elsewhere (or build in-house) when:
cus_...). Adding a second scheme creates long-term confusion; consolidation cost exceeds the package's value.BaseModel. We'll pin to ^0.1, wrap it behind a small internal interface, and roll it out table-by-table starting with publicly exposed resources."How can I help you explore Laravel packages today?