bonu-devbonu-devOfficial·3 Agent Skills Included

php-elasticsearch-builder

Fluent, type-safe Elasticsearch query building for PHP

Builds Elasticsearch queries, aggregations, and sorts in PHP through a fluent, immutable, type-safe API. Eliminates hand-written JSON payloads, syntax errors, and fragile string concatenation when querying Elasticsearch. Guides contributors through adding new query, aggregation, and sort classes with enforced conventions, tests, and static analysis checks.
npx skills add bonu-dev/php-elasticsearch-builder --all -g -y
Available:

Instructs your AI agent on the project structure, coding conventions, and when to route requests to the create-query, create-aggregation, or create-sort skills.

All Skills in This Repository (3)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install php-elasticsearch-builder?

Run `npx skills add bonu-dev/php-elasticsearch-builder --all -g -y` in your terminal to install all skills in this suite globally.

How to build Elasticsearch queries in PHP?

Use the fluent QueryBuilder class to chain queries, aggregations, sorts, and pagination, then pass the built array directly to the official Elasticsearch PHP client.

Can AI add new Elasticsearch query types to this project?

Yes. The create-query, create-aggregation, and create-sort skills give your agent step-by-step templates, conventions, and test patterns for adding new classes that pass CI.

Does it work with the official Elasticsearch PHP client?

Yes. The builder outputs plain arrays designed to be passed directly into the official elasticsearch/elasticsearch PHP client with zero extra dependencies.

What PHP version is required?

The library requires PHP 8.4 or higher and has no production dependencies beyond PHP itself.

Related Repositories in Software Engineering

View All in Software Engineering