PHPackages                             gimler/symfony-rest-edition - 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. gimler/symfony-rest-edition

AbandonedArchivedProject[API Development](/categories/api)

gimler/symfony-rest-edition
===========================

The "Symfony REST Edition" distribution

2.7.x-dev(9y ago)63610.5k124[13 issues](https://github.com/gimler/symfony-rest-edition/issues)[1 PRs](https://github.com/gimler/symfony-rest-edition/pulls)MITPHPPHP &gt;=5.4.0

Since Jan 26Pushed 9y ago43 watchersCompare

[ Source](https://github.com/gimler/symfony-rest-edition)[ Packagist](https://packagist.org/packages/gimler/symfony-rest-edition)[ RSS](/packages/gimler-symfony-rest-edition/feed)WikiDiscussions 2.7 Synced 2mo ago

READMEChangelogDependencies (17)Versions (4)Used By (0)

Symfony REST Edition
====================

[](#symfony-rest-edition)

[![Build Status](https://camo.githubusercontent.com/4e8a84e4858e3a6cd7d9038494f2da8a62887c1f4e08134a753261d1652615e6/68747470733a2f2f7472617669732d63692e6f72672f67696d6c65722f73796d666f6e792d726573742d65646974696f6e2e706e673f6272616e63683d322e33)](https://travis-ci.org/gimler/symfony-rest-edition) [![Total Downloads](https://camo.githubusercontent.com/d5f2d75f0ade864158690944c639ddbdea8003e1485f275222fbd306c491af21/68747470733a2f2f706f7365722e707567782e6f72672f67696d6c65722f73796d666f6e792d726573742d65646974696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/gimler/symfony-rest-edition)

Welcome to the Symfony REST Edition - a fully-functional Symfony2 application that you can use as the skeleton for your new applications.

This document contains information on how to download, install, and start using Symfony. For a more detailed explanation, see the [Installation](http://symfony.com/doc/2.7/book/installation.html)chapter of the Symfony Documentation.

1. Installing the REST Edition

---

When it comes to installing the Symfony REST Edition, you have the following options.

### Use Composer (*recommended*)

[](#use-composer-recommended)

As Symfony uses [Composer](http://getcomposer.org/) to manage its dependencies, the recommended way to create a new project is to use it.

If you don't have Composer yet, download it following the instructions on  or just run the following command:

```
curl -s http://getcomposer.org/installer | php

```

Then, use the `create-project` command to generate a new Symfony application:

```
php composer.phar create-project gimler/symfony-rest-edition --stability=dev path/to/install

```

Composer will install Symfony and all its dependencies under the `path/to/install` directory.

### Download an Archive File

[](#download-an-archive-file)

To quickly test Symfony, you can also download an [archive](https://github.com/gimler/symfony-rest-edition/archive/master.zip) of the Standard Edition and unpack it somewhere under your web server root directory.

If you downloaded an archive "without vendors", you also need to install all the necessary dependencies. Download composer (see above) and run the following command:

```
php composer.phar install

```

2. Checking your System Configuration

---

Before starting coding, make sure that your local system is properly configured for Symfony.

Execute the `check.php` script from the command line:

```
php app/check.php

```

Access the `config.php` script from a browser:

```
http://localhost/path/to/symfony/app/web/config.php

```

If you get any warnings or recommendations, fix them before moving on.

3. Browsing the Demo Application

---

Congratulations! You're now ready to use Symfony.

From the `config.php` page, click the "Bypass configuration and go to the Welcome page" link to load up your first Symfony page.

You can also use a web-based configurator by clicking on the "Configure your Symfony Application online" link of the `config.php` page.

To see a real-live Symfony page in action, access the following page:

```
web/app_dev.php/notes

```

Using the console after installing httpie.org or some other http client you can run some commands to test the API as well:

```
http "http://symfony-rest-edition.lo/app_dev.php/notes" --json -a restapi:secretpw
http POST "http://symfony-rest-edition.lo/app_dev.php/notes" --json -a restapi:secretpw < note.json
http "http://symfony-rest-edition.lo/app_dev.php/notes/0" --json -a restapi:secretpw
http "http://symfony-rest-edition.lo/app_dev.php/notes/0" "Accept:application/json;version=1.0" -a restapi:secretpw
http DELETE "http://symfony-rest-edition.lo/app_dev.php/notes/0" --json -a restapi:secretpw
http PUT "http://symfony-rest-edition.lo/app_dev.php/notes/0" --json -a restapi:secretpw < note.json
http PUT "http://symfony-rest-edition.lo/app_dev.php/notes/1" --json -a restapi:secretpw < note.json
http PUT "http://symfony-rest-edition.lo/app_dev.php/notes/2" --json -a restapi:secretpw < note.json
http PUT "http://symfony-rest-edition.lo/app_dev.php/notes/3" --json -a restapi:secretpw < note.json
http "http://symfony-rest-edition.lo/app_dev.php/notes?offset=1&limit=1" --json -a restapi:secretpw

```

To run the tests install PHPUnit 3.7+ and call:

```
phpunit -c app/

```

4. Getting started with Symfony

---

This distribution is meant to be the starting point for your Symfony applications, but it also contains some sample code that you can learn from and play with.

A great way to start learning Symfony is via the [Quick Tour](http://symfony.com/doc/2.7/quick_tour/the_big_picture.html), which will take you through all the basic features of Symfony2.

Once you're feeling good, you can move onto reading the official [Symfony2 book](http://symfony.com/doc/2.7/index.html).

A default bundle, `AppBundle`, shows you Symfony2 in action. After playing with it, you can remove it by following these steps:

- delete the `src/AppBundle` directory;
- remove the routing entries referencing AcmeBundle in `app/config/routing_dev.yml`;
- remove the AcmeBundle from the registered bundles in `app/AppKernel.php`;
- remove the `web/bundles/acmedemo` directory;
- remove the `security.providers`, `security.firewalls.login` and `security.firewalls.secured_area` entries in the `security.yml` file or tweak the security configuration to fit your needs.

What's inside?
--------------

[](#whats-inside)

The Symfony REST Edition is configured with the following defaults:

- Twig is the only configured template engine;
- Translations are activated
- Doctrine ORM/DBAL is configured;
- Swiftmailer is configured;
- Annotations for everything are enabled.

It comes pre-configured with the following bundles:

- **FrameworkBundle** - The core Symfony framework bundle
- [**SensioFrameworkExtraBundle**](http://symfony.com/doc/2.7/bundles/SensioFrameworkExtraBundle/index.html) - Adds several enhancements, including template and routing annotation capability
- [**DoctrineBundle**](http://symfony.com/doc/2.7/book/doctrine.html) - Adds support for the Doctrine ORM
- [**TwigBundle**](http://symfony.com/doc/2.7/book/templating.html) - Adds support for the Twig templating engine
- [**SecurityBundle**](http://symfony.com/doc/2.7/book/security.html) - Adds security by integrating Symfony's security component
- [**SwiftmailerBundle**](http://symfony.com/doc/2.7/cookbook/email.html) - Adds support for Swiftmailer, a library for sending emails
- [**MonologBundle**](http://symfony.com/doc/2.7/cookbook/logging/monolog.html) - Adds support for Monolog, a logging library
- [**AsseticBundle**](http://symfony.com/doc/2.7/cookbook/assetic/asset_management.html) - Adds support for Assetic, an asset processing library
- **WebProfilerBundle** (in dev/test env) - Adds profiling functionality and the web debug toolbar
- **SensioDistributionBundle** (in dev/test env) - Adds functionality for configuring and working with Symfony distributions
- [**SensioGeneratorBundle**](http://symfony.com/doc/2.7/bundles/SensioGeneratorBundle/index.html) (in dev/test env) - Adds code generation capabilities
- **AcmeDemoBundle** (in dev/test env) - A demo bundle with some example code
- [**FOSRestBundle**](https://github.com/FriendsOfSymfony/FOSRestBundle) - Adds rest functionality
- [**FOSHttpCacheBundle**](https://github.com/FriendsOfSymfony/FOSHttpCacheBundle/) - This bundle offers tools to improve HTTP caching with Symfony2
- [**NelmioApiDocBundle**](https://github.com/nelmio/NelmioApiDocBundle) - Add API documentation features
- [**BazingaHateoasBundle**](https://github.com/willdurand/BazingaHateoasBundle) - Adds HATEOAS support
- [**HautelookTemplatedUriBundle**](https://github.com/hautelook/TemplatedUriBundle) - Adds Templated URIs (RFC 6570) support
- [**BazingaRestExtraBundle**](https://github.com/willdurand/BazingaRestExtraBundle)

Enjoy!

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.4% 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 ~487 days

Total

2

Last Release

3384d ago

PHP version history (2 changes)2.3.x-devPHP &gt;=5.3.3

2.7.x-devPHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/685ac42edfee8d9cab853076b414ed64b5bf2567a875a00d6205e1846a721687?d=identicon)[gimler](/maintainers/gimler)

---

Top Contributors

[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (576 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (67 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (33 commits)")[![Tobion](https://avatars.githubusercontent.com/u/610090?v=4)](https://github.com/Tobion "Tobion (22 commits)")[![brikou](https://avatars.githubusercontent.com/u/383212?v=4)](https://github.com/brikou "brikou (17 commits)")[![gimler](https://avatars.githubusercontent.com/u/200904?v=4)](https://github.com/gimler "gimler (15 commits)")[![stealth35](https://avatars.githubusercontent.com/u/196110?v=4)](https://github.com/stealth35 "stealth35 (14 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (14 commits)")[![willdurand](https://avatars.githubusercontent.com/u/217628?v=4)](https://github.com/willdurand "willdurand (13 commits)")[![vicb](https://avatars.githubusercontent.com/u/248818?v=4)](https://github.com/vicb "vicb (11 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (9 commits)")[![kriswallsmith](https://avatars.githubusercontent.com/u/33886?v=4)](https://github.com/kriswallsmith "kriswallsmith (9 commits)")[![weaverryan](https://avatars.githubusercontent.com/u/121003?v=4)](https://github.com/weaverryan "weaverryan (7 commits)")[![jalliot](https://avatars.githubusercontent.com/u/387904?v=4)](https://github.com/jalliot "jalliot (5 commits)")[![ASA1-ET-JENKINS](https://avatars.githubusercontent.com/u/48315530?v=4)](https://github.com/ASA1-ET-JENKINS "ASA1-ET-JENKINS (5 commits)")[![gajdaw](https://avatars.githubusercontent.com/u/676675?v=4)](https://github.com/gajdaw "gajdaw (5 commits)")[![havvg](https://avatars.githubusercontent.com/u/126898?v=4)](https://github.com/havvg "havvg (5 commits)")[![jmfontaine](https://avatars.githubusercontent.com/u/174728?v=4)](https://github.com/jmfontaine "jmfontaine (4 commits)")[![arjona](https://avatars.githubusercontent.com/u/139953?v=4)](https://github.com/arjona "arjona (4 commits)")[![ajessu](https://avatars.githubusercontent.com/u/334919?v=4)](https://github.com/ajessu "ajessu (3 commits)")

---

Tags

composerphpsymfonysymfony-application

### Embed Badge

![Health badge](/badges/gimler-symfony-rest-edition/health.svg)

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

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[leaphly/leaphly-sandbox

The Leaphly sandbox

144.4k](/packages/leaphly-leaphly-sandbox)

PHPackages © 2026

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