Download the PHP package kevinruscoe/autosortingmodeltrait without Composer
On this page you can find all versions of the php package kevinruscoe/autosortingmodeltrait. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kevinruscoe/autosortingmodeltrait
More information about kevinruscoe/autosortingmodeltrait
Files in kevinruscoe/autosortingmodeltrait
Download kevinruscoe/autosortingmodeltrait
More information about kevinruscoe/autosortingmodeltrait
Files in kevinruscoe/autosortingmodeltrait
Vendor kevinruscoe
Package autosortingmodeltrait
Short Description A very simple trait to auto-sort models based on querystring values.
License MIT
Package autosortingmodeltrait
Short Description A very simple trait to auto-sort models based on querystring values.
License MIT
Please rate this library. Is it a good library?
Informations about the package autosortingmodeltrait
About
This is a very simple trait that add auto-sorting to Eloquent models.
Usage
Import the trait like:
By default the trait will look for the sortColumn
and sortDirection
querystring values to do the
sorting. If you publish the provided config file you can overwrite these.
There's a helper function to help you craft sorting links using sortLink($modelAttribute)
.
All versions of autosortingmodeltrait with dependencies
PHP Build Version
Package Version
The package kevinruscoe/autosortingmodeltrait contains the following files
Loading the files please wait ....