Local-first AI & search infrastructure for PHP.
Small, sharp, composable packages — vector math, embeddings, lexical search, tokenizers, chunking, scoring, and ONNX inference — that run in-process, with optional native extensions when you need the speed.
| Package | What it does |
|---|---|
vector |
In-process vector math: cosine, dot, L2, top-k, batch similarity |
embed |
Embedding helpers: normalize, chunk metadata, cache keys, provider-agnostic DTOs |
beacon |
Local semantic search: store embeddings, query top-k, filter by metadata |
lex |
Lexical search toolkit: tokenization, n-grams, BM25, inverted indexes |
tokens |
Fast tokenizers: BPE/WordPiece encode/decode, batch tokenization |
chunk |
Document chunking: overlapping windows, markdown/code-aware splits, token budgets |
score |
In-request ML scoring: exported linear/tree models for ranking & pricing |
onnx |
Thin ONNX Runtime bindings — portable models, no Python sidecar |
rerank |
Cross-encoder & feature-based reranking for lexical + vector pipelines |
Every package ships as a pure-PHP implementation with an optional
PIE-compatible native extension (*-ext) built with
typephp-builder.
| Package | What it does |
|---|---|
docker-php |
Docker Engine API client for Laravel with a Livewire management UI |
filament-horizon |
Horizon integration for Filament |
| Package | What it does |
|---|---|
healthcheck-ai |
AI service connectivity health check for Laravel |
healthcheck-mail |
Mail connectivity health check for Laravel |
healthcheck-mercure |
Mercure connectivity health check for Laravel |
healthcheck-migration |
Pending database migrations health check for Laravel |
healthcheck-octane |
Laravel Octane server status health check |
healthcheck-operations |
Pending one-time operations health check for Laravel |
healthcheck-pgvector |
PostgreSQL pgvector connectivity health check for Laravel |
healthcheck-redis |
Redis extension and connectivity health check for Laravel |
healthcheck-storage |
Laravel storage disk writability health check |
healthcheck-stripe |
Stripe API connectivity health check for Laravel |
healthcheck-typesense |
Typesense connectivity health check for Laravel |
| Package | What it does |
|---|---|
laravel-content-sentinel |
A configurable content safeguard and moderation pipeline for Laravel |
laravel-edge-clear |
Standalone Cloudflare cache purging for Laravel |
laravel-hybrid-search |
Hybrid lexical and vector search for Laravel |
laravel-llm-router |
Route Laravel AI requests across language model providers |
laravel-places-scout |
A fluent Laravel package for the Google Places API with strongly typed DTOs |
laravel-prompt-registry |
Dynamic AI agent prompt registration and retrieval for Laravel |
laravel-semantic-deduper |
Semantic duplicate detection for Laravel applications |
laravel-social-caster |
Publish social media content from Laravel |
laravel-vault-cipher |
Encrypt and decrypt application secrets with Laravel |
laravel-vector-schema |
Define and validate vector schemas for Laravel search |
laravel-wayfinder-forge |
Generate strongly typed frontend SDKs from Laravel routes |
All packages are MIT-licensed. Built by Miguel Enes.
