PHPackages                             arnulfosolis/apihistogram - 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. arnulfosolis/apihistogram

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

arnulfosolis/apihistogram
=========================

ApiHistogram is a Symphony Bundle that allows you to create historical data from your web services

1.0(10y ago)044MITPHPPHP &gt;=5.4

Since Apr 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/arnulfojr/apihistogram)[ Packagist](https://packagist.org/packages/arnulfosolis/apihistogram)[ Docs](https://github.com/arnulfojr/ApiHistogram-Standard)[ RSS](/packages/arnulfosolis-apihistogram/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

ApiHistogram
============

[](#apihistogram)

ApiHistogram aims to create a history of your API responses and stores the response in your database, so you can analyse variable data coming from any web service that does not offer historical data, or to create your own historical data based on a third party service.

---

Installation
============

[](#installation)

- First add ApiHistogram to your project with composer.
    - Composer: `composer require arnulfosolis/apihistogram @dev`
- Then, if needed, call `composer install` or `composer update`to get all the dependencies set.
- Make sure that the `ApiHistogramBundle` is registered in the `AppKernel`.
    - All ApiHistogram Classes lay under:
        - Namespace: `ApiHistogram\`.
- Fill the needed configuration in the your target's `config.yml`file.
    - See `README_CONFIG.md` file under `/ApiHistogram` directory
- Make sure you set your database's configuration in the parameter's file.
- You're done!

---

Description
===========

[](#description)

ApiHistogram allows developers to query API data and save the response data automatically while trying to be the most flexible as possible. ApiHistogram focuses on performance, so all calls are asynchronous.

This allows to have "LIVE" data coming every time the command line tool is called `php app/console api-histogram:update`

---

Usage
=====

[](#usage)

- To use the application, make sure you define your `sites`in the configuration file `config.yml`.
    - Recommendation: Use a separate file to define your calls.
- And every time you call the command `php app/console api-histogram:update` ApiHistogram will append the new data to the database.

Future development
==================

[](#future-development)

- The Api calls are now being used with a simple GET HTTP method. As this is a good approach for a REST-full approach, no extra headers are being placed in the request. So next step will be to add optional headers to the HTTP Request.
- For now, all data is being saved in one schema in one connection, in future releases using different schemas for different connections for individual calls will be possible.
- New ideas coming soon!

Contact
=======

[](#contact)

- Arnulfo Solis
- Email:
- Twitter: @arnulfojr
- Demo:

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3679d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/54f3160d2a4ab134af9d7e36b83922c63c2ebb1d4223dcdc36eeb6f4bcab0805?d=identicon)[arnulfojr](/maintainers/arnulfojr)

---

Top Contributors

[![arnulfojr](https://avatars.githubusercontent.com/u/1023023?v=4)](https://github.com/arnulfojr "arnulfojr (7 commits)")

---

Tags

httpresponseapidoctrinesqlhistorysavePersisthistogramqchartsapihistogram

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[aplus/http-client

Aplus Framework HTTP Client Library

2161.6M1](/packages/aplus-http-client)[api-platform/doctrine-orm

Doctrine ORM bridge

243.1M39](/packages/api-platform-doctrine-orm)[gointegro/hateoas-bundle

GOintegro HATEOAS Bundle

6810.6k](/packages/gointegro-hateoas-bundle)[gointegro/hateoas

GOintegro HATEOAS Lib

408.0k1](/packages/gointegro-hateoas)[elementaryframework/water-pipe

URL routing framework and requests/responses handler for PHP

254.6k4](/packages/elementaryframework-water-pipe)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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