PHPackages                             yaec/yaec - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. yaec/yaec

ActiveLibrary[HTTP &amp; Networking](/categories/http)

yaec/yaec
=========

Yet Another ElasticSearch PHP Client

06PHP

Since Sep 4Pushed 9y ago1 watchersCompare

[ Source](https://github.com/egiralt/yaec)[ Packagist](https://packagist.org/packages/yaec/yaec)[ RSS](/packages/yaec-yaec/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Yet Another ElasticSearch PHP Client
====================================

[](#yet-another-elasticsearch-php-client)

Otro cliente de ElasticSearch! para PHP
---------------------------------------

[](#otro-cliente-de-elasticsearch-para-php)

Como dice su nombre, es un cliente de ElasticSearch.. ni peor ni mejor que los tantos que ya hay. Se ha diseñado para que sea muy simple, usando los constructores básicos de PHP y por tanto alejados de clientes con construcciones más complejas.

Por ahora está en desarrollo, aunque se está usando ya en proyectos personales. Simplemente no ha sido probado en un entorno más "sociable"... entiéndase: no se ha revisado ni criticado mucho. Espero forks!

Yaec es Orientado a Objetos
---------------------------

[](#yaec-es-orientado-a-objetos)

Aplica las mejores prácticas de la OOP para lograr un framework lo más sólido y extensible posible. Es un proyecto que crece día a día, así que requiere de buen código, legible y organizado.

Cómo se usa
-----------

[](#cómo-se-usa)

Hagamos unos simples ejemplos:

```
use \Yaec\Yaec_ESClient;

	...
// Conectar al server local para interrogar el índice 'twitter'
$es = new Yaec_ESClient ('twitter', 'localhost', 9200);

// Ahora a buscar un nuevo objeto, usando su id
$atweet = $es->GetItem('tweet', 1);

// Recuperar los tweets de determinado usuario
$tweets = $es->MatchMany ('tweet', array ('user' => '@johndoe'));

$today = new \DateTime();
$lastTweet = $es->MatchOne ('tweet',array(
	'user' => '@johndoe',
	'posting_date' => $today->format('Y-m-d')
	));

echo $lastTweet->message;  // El resultado es una clase PHP

	...

```

Licencia
--------

[](#licencia)

GPL

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1755c2860eeb7b0f7484c6603fda69868b48ddad8c3b4293710d667a0ef98697?d=identicon)[egiralt](/maintainers/egiralt)

---

Top Contributors

[![egiralt](https://avatars.githubusercontent.com/u/7782438?v=4)](https://github.com/egiralt "egiralt (11 commits)")

### Embed Badge

![Health badge](/badges/yaec-yaec/health.svg)

```
[![Health](https://phpackages.com/badges/yaec-yaec/health.svg)](https://phpackages.com/packages/yaec-yaec)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.5k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
