jengo / search
Enterprise-grade, multi-driver full-text and semantic search engine subsystem for CodeIgniter 4 and the Jengo Framework.
Requires
- php: ^8.2
- codeigniter4/framework: ^4.7
- jengo/base: ^1.1
Requires (Dev)
- phpunit/phpunit: ^11.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-01 07:03:35 UTC
README
A unified, multi-driver full-text search engine package for CodeIgniter 4 and the Jengo ecosystem. Supports Meilisearch, Typesense, and Database (SQL/SQLite) drivers with an expressive query builder, attribute-driven schema definitions, automatic model lifecycle hooks, and zero external SDK dependencies.
Documentation: https://lipex-org.github.io/jengophp.com/packages/search
Installation
composer require jengo/search php spark jengo:install search
Quick Example
use App\Models\ProductModel; use Jengo\Search\Facades\Search; // Execute a full-text search with facets and highlighting $results = Search::query(ProductModel::class, 'oled laptop') ->where('category', 'Laptops') ->where('in_stock', true) ->highlight(['title', 'description']) ->facets(['category', 'brand']) ->paginate(12, 1) ->get();
Documentation
For comprehensive guides, driver configuration, model lifecycle hooks, Inertia.js integration, and CLI commands, visit the official documentation at https://lipex-org.github.io/jengophp.com/packages/search.
License
Released under the MIT License.