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.
You can use Laravel Scout's pagination feature to get paginated results from Explorer.
By default, Elasticsearch returns only the first 10 search results as you can see in their documentation.
Laravel Scout has a take() method and Explorer uses that to set a custom search result size for Elasticsearch.
For example to get a maximum of 300 search results:
use App\Models\Post;
$results = Post::search('Spartans')->take(300)->get();
How can I help you explore Laravel packages today?