Repository navigation
Release Notes for Version 1.4 (First Release - Laravel 10 Support)
We are thrilled to announce the first release of the devhereco\SimpleEloquentSearch package, version 1.4! This initial release brings compatibility with Laravel 10, the latest major release of the Laravel framework.
Key Highlights
- Laravel 10 Compatibility: The package is fully compatible with Laravel 10, allowing you to leverage the newest features and capabilities in the Laravel ecosystem for streamlined model searching.
Getting Started
As this is the first release, you can now start using the package to simplify your model searching process with the Searchable trait. Define the columns you want to search within your models and use the scopeSearch method to perform searches effortlessly.
use devhereco\SimpleEloquentSearch\Searchable;
class YourModel extends Model
{
use Searchable;
protected $searchable = ['column1', 'relation.column2'];
}