Sort Eloquent model records by their attributes or relationships with Laravel Sort
Laravel Sort is a good package to sort Eloquent model records by their attributes or relationships.
Relationship types that can be sorted by: hasOne
, belongsTo
Installation
Install the package via Composer:
composer require zbiller/laravel-sort
Source Code
This post is submitted by our members. Submit a new post.
Tags: Tutorials Packages Sources Laravel 5.7 Laravel 5 Intermediate