PHPackages                             ml/hydra-bundle - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ml/hydra-bundle

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ml/hydra-bundle
===============

JSON-LD Processor for PHP

611.0k12[8 issues](https://github.com/lanthaler/HydraBundle/issues)[1 PRs](https://github.com/lanthaler/HydraBundle/pulls)PHP

Since Jun 24Pushed 8y ago5 watchersCompare

[ Source](https://github.com/lanthaler/HydraBundle)[ Packagist](https://packagist.org/packages/ml/hydra-bundle)[ RSS](/packages/ml-hydra-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

HydraBundle
===========

[](#hydrabundle)

Hydra is a lightweight vocabulary to create hypermedia-driven Web APIs. By specifying a number of concepts commonly used in Web APIs it renders the creation of generic API clients possible.

This is a [Symfony2](http://www.symfony.com/) bundle which shows how easily Hydra can be integrated in modern Web frameworks. It acts as a proof of concept to show how Hydra can simplify the implementation of interoperable and evolvable RESTful APIs.

***WARNING: This is highly experimental stuff that isn't ready for production use yet.***

To participate in the development of this bundle, please file bugs and issues in the issue tracker or submit pull requests. If you have questions regarding Hydra in general, join the [Hydra W3C Community Group](http://bit.ly/HydraCG).

You can find an online demo of this bundle as well as more information about Hydra on my homepage:

Installation
------------

[](#installation)

You can install this bundle by running

```
composer require ml/hydra-bundle dev-master

```

or by adding the package to your composer.json file directly

```
{
    "require": {
        "ml/hydra-bundle": "dev-master"
    }
}
```

After you have installed the package, you just need to add the bundle to your `AppKernel.php` file:

```
// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new ML\HydraBundle\HydraBundle(),
    // ...
);
```

and import the routes in your `routing.yml` file:

```
hydra:
    resource: "@HydraBundle/Controller/"
    type:     annotation
    prefix:   /
```

Credits
-------

[](#credits)

This bundle heavily uses the [Doctrine Common project](http://www.doctrine-project.org/projects/common.html)and is inspired by its [object relational mapper](http://www.doctrine-project.org/projects/orm.html). The code generation is based on Sensio's [SensioGeneratorBundle](https://github.com/sensio/SensioGeneratorBundle).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% 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/eb56bb436cdb5cb935166961547ecfaf85955077552ba8d5145bcd7af3126e07?d=identicon)[markus](/maintainers/markus)

---

Top Contributors

[![lanthaler](https://avatars.githubusercontent.com/u/456407?v=4)](https://github.com/lanthaler "lanthaler (95 commits)")[![dunglas](https://avatars.githubusercontent.com/u/57224?v=4)](https://github.com/dunglas "dunglas (2 commits)")[![benbender](https://avatars.githubusercontent.com/u/462455?v=4)](https://github.com/benbender "benbender (1 commits)")

### Embed Badge

![Health badge](/badges/ml-hydra-bundle/health.svg)

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M44](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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