PHPackages                             canaltp/tyr-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. canaltp/tyr-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

canaltp/tyr-bundle
==================

Symfony2 bundle which provides a Tyr service.

1.3.0(10y ago)12.3k2GPL-3.0PHPPHP &gt;=5.2

Since Jul 28Pushed 4y ago32 watchersCompare

[ Source](https://github.com/CanalTP/TyrBundle)[ Packagist](https://packagist.org/packages/canaltp/tyr-bundle)[ Docs](https://github.com/CanalTP/TyrBundle)[ RSS](/packages/canaltp-tyr-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (3)Versions (10)Used By (0)

Tyr Bundle
==========

[](#tyr-bundle)

Symfony2 bundle which provide a concrete [AbstractTyrService](https://github.com/CanalTP/TyrComponent/blob/master/src/AbstractTyrService.php).

The bundle uses the [TyrComponent](https://github.com/CanalTP/TyrComponent).

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

[](#installation)

Install via composer

```
{
    "require": {
        "canaltp/tyr-bundle": "1.1.x"
    }
}
```

Updating **AppKernel.php**:

```
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new CanalTP\TyrBundle\CanalTPTyrBundle(),
        );
    }
```

Updating **app/config.yml**:

```
# Tyr api configuration
canal_tp_tyr:
    url:            %tyr_url%
    end_point_id:   2 # Optional, can also be set with setEndPointId
```

Add parameters in **parameters.yml**:

```
parameters:
    tyr_url: http://tyr.dev.canaltp.fr/v0/
```

Usage
-----

[](#usage)

```
// Accessing service
$tyrApi = $container->get('canal_tp_tyr.api');
$tyrApi->setEndPointId(1); // If not set in configuration

// Call api
$user = $tyrApi->getUserByEmail('...');
```

License
-------

[](#license)

This project is under [GPL-3.0 License](LICENSE).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 78.3% 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

Every ~30 days

Recently: every ~41 days

Total

8

Last Release

3775d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a2e84adf3e1bbfcc1c525e8875141708cf5f34a58676c5389c951016a632fb3?d=identicon)[packagistctp](/maintainers/packagistctp)

![](https://www.gravatar.com/avatar/dda7e458a209d5394bcf3015ddc298b49dd8cae89304ac89b3ec0f0ead48b1d6?d=identicon)[packagist-kisio-bot](/maintainers/packagist-kisio-bot)

![](https://avatars.githubusercontent.com/u/13700?v=4)[Remy Sharp](/maintainers/remy)[@remy](https://github.com/remy)

---

Top Contributors

[![alcalyn](https://avatars.githubusercontent.com/u/1588144?v=4)](https://github.com/alcalyn "alcalyn (18 commits)")[![is06](https://avatars.githubusercontent.com/u/631559?v=4)](https://github.com/is06 "is06 (2 commits)")[![Chrysem](https://avatars.githubusercontent.com/u/10496713?v=4)](https://github.com/Chrysem "Chrysem (1 commits)")[![lrocheWB](https://avatars.githubusercontent.com/u/10560073?v=4)](https://github.com/lrocheWB "lrocheWB (1 commits)")[![Netmisa](https://avatars.githubusercontent.com/u/1167753?v=4)](https://github.com/Netmisa "Netmisa (1 commits)")

---

Tags

phpsymfonytyr

### Embed Badge

![Health badge](/badges/canaltp-tyr-bundle/health.svg)

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

PHPackages © 2026

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