A sandbox for Silex, by Digitas France






Installs: 68

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0


1.2.1 2014-01-31 11:07 UTC

This package is auto-updated.

Last update: 2020-01-13 16:51:13 UTC


Total Downloads Dependency Status

Digex is a sandbox based on the micro-framework Silex (Symfony2 Components).

For core functionalies are implemented in digex-core.

If you have identified a bug in Digex, please use the the bug tracker.

Getting Started

Creating a new project using composer :

curl -s http://getcomposer.org/installer | php
php composer.phar create-project digitas/digex project-directory *@dev

Setup the sandbox

Allow apache user to write in cache and log directories:

chmod 777 app/logs/ app/cache/

Every settings are stored in app/config directory.

The default settings are in app/config/config.yml.

The setting overrides dedicated to environment stand in corresponding app/config/config_<ENV>.yml file.

Setup your server settings

Recommended PHP settings:

safe_mode = Off
register_globals = Off
short_open_tag = Off
magic_quotes_gpc = Off
magic_quotes_runtime = Off
session.auto_start = Off
date.timezone = "Europe/Paris"
phar.readonly = Off
phar.require_hash = Off
suhosin.executor.include.whitelist = phar

A virtual host sample

<VirtualHost *:80>
    ServerName [HOSTNAME]
    DocumentRoot "[ROOT_DIR]/web"

    <Directory "[ROOT_DIR]/web">
        AllowOverride all
        Order allow,deny
        Allow from all

Run the sandbox

To check server requirements, visit the URL http://.../check.php to automatically check server requirements.

To run the application in DEV environment, visit http://.../index_dev.php.

To run the application in PROD environment, visit http://.../index.php.



  • myqsl >= 5.1.x

  • PHP >= 5.3.x

    • php-xml (libxml >= 2.7.x)
    • apc
    • Tokenizer
    • Mbstring
    • iconv (iconv >= 2.11.x)
    • XML
    • php_posix
    • intl
    • json
    • pdo
    • pdo_mysql
    • xsl
    • pcre
    • cURL *apache >= 2.2.x
    • mod_rewrite


Copyright (c) 2011-2012, Digitas France All rights reserved.

Silex is copyrighted to Fabien Potencier and is licensed under the MIT license.


Digex is released under the 3-clause BSD licence.

Please read the LICENSE file.


See the Honour Roll

Bitdeli Badge