jeroen-g/explorer
Laravel-friendly, fluent API for exploring and filtering directories and files. Chain common queries (name, extension, size, modified time), include/exclude patterns, sort and paginate results, and iterate over matches with clean, expressive code.
By default, your search results will be sorted by their score according to Elasticsearch.
If you want to step in and influence the sorting you may do so using the default orderBy() function from Laravel Scout.
use App\Models\Post;
$results = Post::search('Self-steering')
->orderBy('published_at', 'desc')
->get();
How can I help you explore Laravel packages today?