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)137643[5 issues](https://github.com/creads/api2symfony/issues)[1 PRs](https://github.com/creads/api2symfony/pulls)1MITPHP

Since Dec 12Pushed 9y agoCompare

[ 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 today

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 69% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

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

3629d 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

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M733](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[harmbandstra/swagger-ui-bundle

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

42888.4k](/packages/harmbandstra-swagger-ui-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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