The "Symfony Demo Application" is a reference application created to show how to develop Symfony applications following the recommended best practices.
- PHP 7.1.3 or higher;
- PDO-SQLite PHP extension enabled;
- and the usual Symfony application requirements.
Execute this command to install the project:
$ composer create-project symfony/symfony-demo
There's no need to configure anything to run the application. Just execute this command to run the built-in web server and access the application in your browser at http://localhost:8000:
$ cd symfony-demo/
$ php bin/console server:run
Alternatively, you can configure a fully-featured web server like Nginx or Apache to run the application.
Execute this command to run tests:
$ cd symfony-demo/
$ ./vendor/bin/simple-phpunit