PHPackages                             creads/api2symfony - 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. [API Development](/categories/api)
4. /
5. creads/api2symfony

AbandonedArchivedLibrary[API Development](/categories/api)

creads/api2symfony
==================

PHP library to automatically generate Symfony2 controllers from API specifications (RAML, Blueprint, Swagger...)

1.1.2(9y ago)137573[4 issues](https://github.com/creads/api2symfony/issues)[1 PRs](https://github.com/creads/api2symfony/pulls)1MITPHP

Since Dec 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/creads/api2symfony)[ Packagist](https://packagist.org/packages/creads/api2symfony)[ Docs](http://creads.fr)[ RSS](/packages/creads-api2symfony/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (6)Used By (1)

Api2Symfony
===========

[](#api2symfony)

PHP library to automatically generate Symfony2 controllers from API specifications (RAML, Blueprint, Swagger...)

BUT... We only support the following specification formats now:

- RAML

But we'd like to also support:

- Blueprint
- Swagger

> Feel free to submit your PRs !

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

[](#installation)

Using composer:

```
composer require creads/api2symfony 1.0.*@dev
```

Use case
--------

[](#use-case)

```
//prepare RAML converter
$converter = new Creads\Api2Symfony\Converter\RamlConverter();

//prepare dumper
$dumper = new Creads\Api2Symfony\Dumper\SymfonyDumper();

//get controller models from specification
$controllers = $converter->convert('path/to/spec.raml');

//dump each controller into current directory
foreach($controllers as $controller) {
  $dumper->dump(controller);
}
```

Run tests
---------

[](#run-tests)

```
composer install --dev
php vendor/bin/phpunit
```

Contributors
------------

[](#contributors)

- [Quentin Pautrat](https://github.com/qpautrat)
- [Damien Pitard](https://github.com/pitpit)

Contributing
------------

[](#contributing)

Feel free to contribute on github by submitting any issue or question on [tracker](https://github.com/creads/api2symfony/issues).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 93.8% 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 ~148 days

Total

5

Last Release

3580d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64dab43fa690b29b84f81efa89ccbfa2a62a74616a2ea80104807a8dd4ef177b?d=identicon)[qpautrat](/maintainers/qpautrat)

![](https://www.gravatar.com/avatar/f8abf06489ebaa309c525e136ffa1ad463682ccd7addff0e7199d903132735a5?d=identicon)[pitpit](/maintainers/pitpit)

---

Top Contributors

[![qpautrat](https://avatars.githubusercontent.com/u/1844413?v=4)](https://github.com/qpautrat "qpautrat (30 commits)")[![pitpit](https://avatars.githubusercontent.com/u/283481?v=4)](https://github.com/pitpit "pitpit (2 commits)")

---

Tags

phpapisymfonyconverterraml

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[harmbandstra/swagger-ui-bundle

Exposes swagger UI inside your Symfony project through a route (eg. /docs)

42867.3k](/packages/harmbandstra-swagger-ui-bundle)[borsaco/telegram-bot-api-bundle

A simple wrapper for telegram-bot-api.

5633.0k](/packages/borsaco-telegram-bot-api-bundle)[php-tmdb/symfony

Symfony Bundle for TMDB (The Movie Database) API. Provides easy access to the php-tmdb/api library.

3649.7k](/packages/php-tmdb-symfony)[google-gemini-php/symfony

Symfony Bundle for Gemini

149.4k1](/packages/google-gemini-php-symfony)

PHPackages © 2026

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