PHPackages                             staegi/symfony-rest-api - 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. staegi/symfony-rest-api

ActiveProject[API Development](/categories/api)

staegi/symfony-rest-api
=======================

The "Symfony2 REST API " project

v1.0.0(10y ago)2431MITPHPPHP &gt;=5.4.0

Since Feb 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/staegi/symfony-rest-api)[ Packagist](https://packagist.org/packages/staegi/symfony-rest-api)[ RSS](/packages/staegi-symfony-rest-api/feed)WikiDiscussions master Synced 3w ago

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

REST API based on Symfony 2
===========================

[](#rest-api-based-on-symfony-2)

[![Total Downloads](https://camo.githubusercontent.com/df5e0a58513c3604306b3448a46fbbdaf08aae8424b14161a1f33d88c7f07698/68747470733a2f2f706f7365722e707567782e6f72672f7374616567692f73796d666f6e792d726573742d6170692f646f776e6c6f616473)](https://packagist.org/packages/staegi/symfony-rest-api) [![Latest Stable Version](https://camo.githubusercontent.com/f25a2f77a53480a81814524c1d4dd81a9548f21d9473fba81ea9589ac450f1d8/68747470733a2f2f706f7365722e707567782e6f72672f7374616567692f73796d666f6e792d726573742d6170692f76657273696f6e)](https://packagist.org/packages/staegi/symfony-rest-api) [![License](https://camo.githubusercontent.com/3df98089ccfc67de60af6bdbcf425e6ce47ecdcd3f69da7eb5a597126f35ee1b/68747470733a2f2f706f7365722e707567782e6f72672f7374616567692f73796d666f6e792d726573742d6170692f6c6963656e7365)](https://packagist.org/packages/staegi/symfony-rest-api)

This is a nice start point to create an application which provides a REST interface to your database.

\#Requirements

- git
- MySQL
- PHP 5.4 or higher
- Apache 2 or Nginx
- Composer

\#Installation

Create project with vendors:

```
curl -sS https://getcomposer.org/installer | php
composer.phar create-project staegi/symfony-rest-api
cd symfony-rest-api

```

Create development database:

```
php bin/console doctrine:database:create -e dev
php bin/console doctrine:schema:create -e dev

```

Load fixtures to create first client and user:

```
php bin/console doctrine:fixtures:load

```

\###Preconfigured vendor modules

- [FOSOAuthServerBundle](https://packagist.org/packages/friendsofsymfony/oauth-server-bundle): Provides token and user authorization with OAuth2
- [FOSUserBundle](https://packagist.org/packages/friendsofsymfony/user-bundle): Provides user and group management
- [FOSRestBundle](https://packagist.org/packages/friendsofsymfony/rest-bundle): Provides various tools to rapidly develop RESTful API's with Symfony
- [NelmioApiDocBundle](https://packagist.org/packages/nelmio/api-doc-bundle): Generates documentation for your REST API from annotations
- [NelmioCorsBundle](https://packagist.org/packages/nelmio/cors-bundle): Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony2 application
- [JMSSerializerBundle](https://packagist.org/packages/jms/serializer-bundle): Allows you to easily serialize, and deserialize data of any complexity
- [LiipMonitorBundle](https://packagist.org/packages/liip/monitor-bundle): Provides an interface for monitoring
- [DoctrineBundle](https://packagist.org/packages/doctrine/doctrine-bundle): Provides an ORM database layer
- [DoctrineFixturesBundle](https://packagist.org/packages/doctrine/doctrine-fixtures-bundle): Provides fixtures to load data for initial installation and acceptance tests

\#Documenttation

The API documentation is shown under `api.your-domain.com/doc`.

\#Monitoring

The monitoring is running under `api.your-domain.com/monitor/`

\#Unit tests

Create test database:

```
php bin/console doctrine:database:create -e test

```

Run the unit tests with:

```
bin/phpunit

```

For the acceptance test you need a test database. Set `test_database_name`, `test_database_user` and `test_database_password` in your `parameters.yml`.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

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

3799d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ec0521158d2d625815c070e3359e50ad9ca31f3e6bf5a5326f17bc6ec25ed9c?d=identicon)[tomcat](/maintainers/tomcat)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/staegi-symfony-rest-api/health.svg)

```
[![Health](https://phpackages.com/badges/staegi-symfony-rest-api/health.svg)](https://phpackages.com/packages/staegi-symfony-rest-api)
```

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[sulu/sulu

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

1.3k1.4M196](/packages/sulu-sulu)[oro/platform

Business Application Platform (BAP)

642140.7k104](/packages/oro-platform)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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