Download the PHP package stephenjude/default-model-sorting without Composer
On this page you can find all versions of the php package stephenjude/default-model-sorting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stephenjude/default-model-sorting
More information about stephenjude/default-model-sorting
Files in stephenjude/default-model-sorting
Package default-model-sorting
Short Description Add default sorting column to your eloquent model
License MIT
Homepage https://github.com/stephenjude/default-model-sorting
Informations about the package default-model-sorting
Default Model Sorting
Add default sorting column to your eloquent model.
Installation
You can install the package via composer:
Basic Usage
Column Sorting Order
You can change the default column sorting order by adding the $orderByColumnDirection
property inside your eloquent model.
Configurations
Publishing Config
You can publish the config file by running the vendor:publish command
Configuring Default Column Sorting Order
You can change the default sorting order inside the config file:
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Stephen Jude
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.