Bonjour,
Voilà, je cherche à installer la version 4 de Symfony pour commencer un nouveau projet. Jusqu' à présent j'ai toujours utilisé la version 2.6 et 2.8.
J'exécute donc la commande indiquée sur la page officielle de Symfony, cette même commande expliquée par Grafikart dans son tuto.
composer create-project symfony/skeleton testSf4
L'installation se passe bien, mais j'ai l'impression que c'est la V3.4.5 qui s'est installée.
Voici ce que me sort la console pendant l'installation :
Installing symfony/skeleton (v3.4.5)
- Installing symfony/skeleton (v3.4.5): Loading from cache
Created project in testSf4
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 23 installs, 0 updates, 0 removals
- Installing symfony/flex (v1.0.68): Loading from cache
Prefetching 16 packages
- Downloading (100%)
- Installing psr/log (1.0.2): Loading from cache
- Installing symfony/debug (v3.4.4): Loading from cache
- Installing symfony/polyfill-mbstring (v1.7.0): Loading from cache
- Installing symfony/console (v3.4.4): Loading from cache
- Installing symfony/routing (v3.4.4): Loading from cache
- Installing symfony/yaml (v3.4.4): Loading from cache
- Installing symfony/framework-bundle (v3.4.4): Loading from cache
- Installing symfony/http-foundation (v3.4.4): Loading from cache
- Installing symfony/event-dispatcher (v3.4.4): Loading from cache
- Installing symfony/http-kernel (v3.4.4): Loading from cache
- Installing symfony/finder (v3.4.4): Loading from cache
- Installing symfony/filesystem (v3.4.4): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing symfony/dependency-injection (v3.4.4): Loading from cache
- Installing symfony/config (v3.4.4): Loading from cache
- Installing symfony/class-loader (v3.4.4): Loading from cache
- Installing psr/simple-cache (1.0.0): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing symfony/polyfill-apcu (v1.7.0): Loading from cache
- Installing symfony/cache (v3.4.4): Loading from cache
- Installing symfony/dotenv (v3.4.4): Loading from cache
Writing lock file
Generating autoload files
Symfony operations: 4 recipes (36b850ce6bfc8bb4ccd36f35befeda68)
- Configuring symfony/flex (>=1.0): From github.com/symfony/recipes:master
- Configuring symfony/framework-bundle (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/console (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/routing (>=3.3): From github.com/symfony/recipes:master
Executing script cache:clear [OK]
Executing script assets:install --symlink --relative public [OK]
Some files may have been created or updated to configure your new packages.
Please review, edit and commit them: these files are yours.
What's next?
* Run your application:
1. Change to the project directory
2. Execute the php -S 127.0.0.1:8000 public/index.php command;
3. Browse to the http://localhost:8000/ URL.
Quit the server with CTRL-C.
Run composer require server --dev for a better web server.
* Read the documentation at https://symfony.com/doc
Et même dans la debug bar, j'ai la version 3.4.5 qui est affichée.
Je ne comprend pas comment installer Symfony 4
Cependant, dans ce nouveau projet, j'ai bien la même organisation de dossier que présenté dans le tuto, et j'ai bien le système Symfony Flex pour utiliser les recettes afin d'installer les dundles nécessaire (Twig, Orm doctrine, ...)
Si quelqu'un peut m'aider ce serait cool.
Merci