timwassenburg/default-model-order
Laravel package that assigns a default order to Eloquent models, so queries and listings return consistently sorted results without repeating orderBy calls. Define ordering once per model with a simple trait and keep query code cleaner across APIs and admin tables.
default-model-order is a lightweight Laravel package that lets you define a default order for your Eloquent models. Instead of repeating orderBy in every query, apply a reusable trait and specify the column and direction once, keeping your queries clean and consistent.
orderBy calls from controllers and repositoriesHow can I help you explore Laravel packages today?