From 3473bef64619a91790202142d14c1529e64c634e Mon Sep 17 00:00:00 2001 From: gcolpart Date: Wed, 6 Sep 2017 15:46:14 +0200 Subject: [PATCH] ajout infos pour symfony --- PracticeSymfony.md | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/PracticeSymfony.md b/PracticeSymfony.md index b4f71593..d680ccce 100644 --- a/PracticeSymfony.md +++ b/PracticeSymfony.md @@ -25,8 +25,40 @@ Il faut indiquer le paramètre `date.timezone = "Europe/Paris"` dans les fichier - `/etc/php5/apache2/php.ini` - `/etc/php5/cli/php.ini` -Pour tester la configuration PHP, des tests peuvent être lancés ainsi : +## Installation ~~~ -$ php bin/symfony_requirements +$ echo '{"require": {{"symfony/framework-standard-edition": "~3.3"}}' > composer.json +$ composer update +Loading composer repositories with package information +[...] + +$ cd vendor/symfony/framework-standard-edition + +$ composer install +Loading composer repositories with package information +Installing dependencies (including require-dev) from lock file + - Installing doctrine/lexer (v1.0.1) + Loading from cache +[...] +~~~ + +Pour tester la configuration, des tests peuvent être lancés ainsi : + +~~~ +$ cd vendor/symfony/framework-standard-edition +$ php bin/symfony_requirements +Symfony Requirements Checker +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +> PHP is using the following php.ini file: + /etc/php/7.0/cli/php.ini + +> Checking Symfony requirements: + ................................W........ + + + [OK] + Your system is ready to run Symfony projects +[...] ~~~