A search package for Laravel
Search that the user can read and edit.
The user types a plain sentence. The package turns it into typed filters on an Eloquent model. Each filter shows as a chip that the user can remove. The list updates at once.
composer require meirdick/auto-search-chipsOne sentence in, typed filters out
The user types the sentence below. The package shows three chips under the box: Type is Video, Author contains Ada and Views greater than 10,000. You can run the same search from PHP.
Post::autoSearch('videos by Ada above 10k views')->paginate();Works with no keys
A rules engine reads the sentence with no network and no API key.
Optional AI
An AI engine adds chips for words the rules did not explain. The AI never writes SQL.
Five front ends
Livewire, Blade with Alpine, and Inertia with React, Vue or Svelte.
Version 0.1, not released yet. The API can change before 1.0. Needs PHP 8.3 and Laravel 12 or 13. MIT license.