PHPackages                             evaneos/silex-rest-skeleton - 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. evaneos/silex-rest-skeleton

AbandonedArchivedLibrary

evaneos/silex-rest-skeleton
===========================

Silex REST skeleton

v2.0.0(9y ago)4762[3 issues](https://github.com/Evaneos/silex-rest-skeleton/issues)[1 PRs](https://github.com/Evaneos/silex-rest-skeleton/pulls)PHPPHP &gt;=5.5.9

Since Jan 25Pushed 6y ago24 watchersCompare

[ Source](https://github.com/Evaneos/silex-rest-skeleton)[ Packagist](https://packagist.org/packages/evaneos/silex-rest-skeleton)[ RSS](/packages/evaneos-silex-rest-skeleton/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (23)Versions (9)Used By (0)

Silex REST Skeleton
===================

[](#silex-rest-skeleton)

[![Build Status](https://camo.githubusercontent.com/58d0e661d92f5c05cc6abb9d85a519d083343a48d15683b74a18664c6f746c22/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4576616e656f732f73696c65782d726573742d736b656c65746f6e2e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/Evaneos/silex-rest-skeleton)

You can create a new project using this skeleton by running the following command: **$&gt;**`echo n | composer create-project evaneos/silex-rest-skeleton  -s dev`

After that, you'll have to:

1. Setup git

---

**$&gt;**`composer git-setup git@github.com:/`

You can see all remote via `git remote -v`

origin target you application repository and upstream the silex skeleton project

2. Setup the env for docker

---

- In `infrastructure/environment/dev/php/config`, create your `blackfire-agent.env` file from `blackfire-agent.env.tpl` to set your blackfire conf.
- In `infrastructure/environment/dev/tunnel`, create your `db.env` file from `db.env.tpl` to set your ssh tunnel to the DB machine.
- Build the docker images:
    - Go to `infrastructure/dockerfiles` directory
    - Type the following command **$&gt;**`make build`
- Run your docker containers:
    - Go to `infrastructure/environment\dev` directory
    - Type the following command **$&gt;**`docker-compose up -d`
- To kill your docker containers:
    - Go to `infrastructure/environment\dev` directory
    - Type the following command **$&gt;**`docker-compose kill`
    - Type the following command **$&gt;**`docker-compose rm -f`

3. Setup and run your app

---

- In `config`, create your `config.yml` file to setup your app
- To access your app via http (if your docker containers are running):
    - Type the following command **$&gt;**`docker ps | grep rest-api-nginx` and look for the port in the filed looking like this: `0.0.0.0:->80tcp`
    - Your app is now accessible at `http://:/`

4. Start coding

---

- Put your domain code in `src`
- All the app code will go in `app`
    - Your new Controllers will go in `app/API/Controllers` and will be declared in a ServiceProvider
    - ControllerProviders will go in `app/API/ControllerProviders` and will be declared in a ServiceProvider
    - Your routes will be mounted through ControllerProviders in `app/Application::mountRoutes`
    - Your API resources will go in `app/API/Resources`
    - Your parameters converters will go in `app/API/Converters` and will be delcared in `app/ServiceProviders/RestAPIServiceProvider` or in a new ServiceProvider
    - Your ServiceProviders will go in `app/ServiceProviders`
    - Your Domain services will be declared in a new ServiceProvider and registered in `app/Application::addDomainServices` or be registered there directly

5. Console

---

At the directory root, you'll find a file named `console` which will let you launch commands

To add a command:

- Create it in `app/Commands`
- Add its declaration in `app/ServiceProviders/CommandsServiceProvider` or add a new one
- Add the command to the application in `app/Application::bootCLI`

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance5

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~46 days

Total

3

Last Release

3546d ago

Major Versions

v1.x-dev → v2.0.02016-08-24

PHP version history (2 changes)v1.0.0PHP &gt;=5.4

v2.0.0PHP &gt;=5.5.9

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/4669254b80f2f96e51b513eecf92457f643a8d4da45c32eaf5d8d694635af01f?d=identicon)[remievaneos](/maintainers/remievaneos)

---

Top Contributors

[![jjsaunier](https://avatars.githubusercontent.com/u/1763341?v=4)](https://github.com/jjsaunier "jjsaunier (29 commits)")[![remi-san](https://avatars.githubusercontent.com/u/5213540?v=4)](https://github.com/remi-san "remi-san (18 commits)")[![AlexDpy](https://avatars.githubusercontent.com/u/7074618?v=4)](https://github.com/AlexDpy "AlexDpy (10 commits)")[![oliviermadre](https://avatars.githubusercontent.com/u/1543271?v=4)](https://github.com/oliviermadre "oliviermadre (4 commits)")[![SelrahcD](https://avatars.githubusercontent.com/u/1864786?v=4)](https://github.com/SelrahcD "SelrahcD (2 commits)")[![Prophet777](https://avatars.githubusercontent.com/u/76678181?v=4)](https://github.com/Prophet777 "Prophet777 (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/evaneos-silex-rest-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/evaneos-silex-rest-skeleton/health.svg)](https://phpackages.com/packages/evaneos-silex-rest-skeleton)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M650](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)

PHPackages © 2026

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