-
Install composer curl -sS https://getcomposer.org/installer | php
-
Install skeletton composer create-project jonas/silex-webservice -sdev
-
Run php server php -S localhost:8080 -t web web/index.php
curl "https://phar.phpunit.de/phpunit.phar" -o "phpunit.phar"
chmod +x phpunit.phar
mv phpunit.phar /usr/local/bin/phpunit
-
Step 1 : basic Silex project git init git remote add origin git@github.com:jonasmonnier/silex-webservice.git git pull origin dojo-step1
-
Step 2 : Silex project with unit tests git pull origin dojo-step2 git checkout dojo-step2 -- composer.json git checkout dojo-step2 -- phpunit.xml.dist git checkout dojo-step2 -- tests/