PHPackages                             lracicot/silex-template - 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. [Templating &amp; Views](/categories/templating)
4. /
5. lracicot/silex-template

Abandoned → [symfony/website-skeleton](/?search=symfony%2Fwebsite-skeleton)Library[Templating &amp; Views](/categories/templating)

lracicot/silex-template
=======================

A small silex template for scalable web application

0.1.4(9y ago)432PHPPHP ^5.3.3 || ^7.0

Since Oct 14Pushed 8y agoCompare

[ Source](https://github.com/lracicot/silex-template)[ Packagist](https://packagist.org/packages/lracicot/silex-template)[ RSS](/packages/lracicot-silex-template/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (9)Versions (6)Used By (0)

**WARNING**: The [end of life of Silex](https://symfony.com/blog/the-end-of-silex) has been set for June 2018. This package will be no longer maintained. Please use [Symfony 4](https://symfony.com/doc/current/index.html).

Silex Template
==============

[](#silex-template)

This Silex template has been written to shorten the setup process of a new Silex Application.

Pre-installation
----------------

[](#pre-installation)

You will need the following program installed in your computer:

- [PHPUnit](https://phpunit.de/manual/current/en/installation.html)
- [composer](https://getcomposer.org/download/)

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

[](#installation)

Create your project:

```
composer create-project lracicot/silex-template path/to/new/project

```

Go to your project:

```
cd path/to/new/project

```

Setup your environment:

```
cp .env.example .env

```

**Change the values you need in the `.env` file.**

Run the tests

```
composer test

```

Start the server:

```
php -S localhost:8000 -t web

```

Try it!

Configuration
-------------

[](#configuration)

When you are deploying, there are a few configuration you might want to change. Here are the available configurations:

**ENVIRONMENT**: Can be *development*, *staging*, *testing* or *production* (default: *development*)

**BASEURL**: If you are running Silex in a subdirectory, you can change this. It will make the routes and the assets work.

What's included?
----------------

[](#whats-included)

### Libraries

[](#libraries)

- [monolog](http://silex.sensiolabs.org/doc/master/providers/monolog.html) - Logging for PHP.
- [phpdotenv](https://github.com/vlucas/phpdotenv) - Loads environment variables.
- [twig](http://silex.sensiolabs.org/doc/master/providers/twig.html) - Templating system, with a default base template.
- A default controller, with the [Controller Provider](http://silex.sensiolabs.org/doc/master/providers.html#controller-providers) system.
- [bootstrap](https://getbootstrap.com) - The CSS framework.
- [jQuery](https://jquery.com/) - [The "J" word](https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.qadonrt62). Yep, I said it. How do you feel about it ?

Optional dependencies
---------------------

[](#optional-dependencies)

The security bundle

```
composer require symfony/security

```

The doctrine DBAL

```
composer require doctrine/dbal

```

A doctrine ORM service provider

```
composer require dflydev/doctrine-orm-service-provider

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Every ~34 days

Total

5

Last Release

3358d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lracicot-silex-template/health.svg)

```
[![Health](https://phpackages.com/badges/lracicot-silex-template/health.svg)](https://phpackages.com/packages/lracicot-silex-template)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

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

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[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)

PHPackages © 2026

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