start_sf5_project_reboot/app
2021-04-17 22:11:27 +02:00
..
.github/workflows add new demo symfony files 2021-04-17 22:11:27 +02:00
assets add new demo symfony files 2021-04-17 22:11:27 +02:00
bin add new demo symfony files 2021-04-17 22:11:27 +02:00
config add new demo symfony files 2021-04-17 22:11:27 +02:00
data add new demo symfony files 2021-04-17 22:11:27 +02:00
migrations add new demo symfony files 2021-04-17 22:11:27 +02:00
public add new demo symfony files 2021-04-17 22:11:27 +02:00
src add new demo symfony files 2021-04-17 22:11:27 +02:00
templates add new demo symfony files 2021-04-17 22:11:27 +02:00
tests add new demo symfony files 2021-04-17 22:11:27 +02:00
translations add new demo symfony files 2021-04-17 22:11:27 +02:00
.editorconfig add new demo symfony files 2021-04-17 22:11:27 +02:00
.env add new demo symfony files 2021-04-17 22:11:27 +02:00
.env.test add new demo symfony files 2021-04-17 22:11:27 +02:00
.gitignore add new demo symfony files 2021-04-17 22:11:27 +02:00
.keep initial commit 2021-04-17 21:45:30 +02:00
.php_cs.dist add new demo symfony files 2021-04-17 22:11:27 +02:00
composer.json add new demo symfony files 2021-04-17 22:11:27 +02:00
composer.lock add new demo symfony files 2021-04-17 22:11:27 +02:00
CONTRIBUTING.md add new demo symfony files 2021-04-17 22:11:27 +02:00
LICENSE add new demo symfony files 2021-04-17 22:11:27 +02:00
package.json add new demo symfony files 2021-04-17 22:11:27 +02:00
phpunit.xml.dist add new demo symfony files 2021-04-17 22:11:27 +02:00
README.md add new demo symfony files 2021-04-17 22:11:27 +02:00
symfony.lock add new demo symfony files 2021-04-17 22:11:27 +02:00
webpack.config.js add new demo symfony files 2021-04-17 22:11:27 +02:00
yarn.lock add new demo symfony files 2021-04-17 22:11:27 +02:00

Symfony Demo Application

The "Symfony Demo Application" is a reference application created to show how to develop applications following the Symfony Best Practices.

Requirements

Installation

Download Symfony to install the symfony binary on your computer and run this command:

$ symfony new --demo my_project

Alternatively, you can use Composer:

$ composer create-project symfony/symfony-demo my_project

Usage

There's no need to configure anything to run the application. If you have installed Symfony binary, run this command:

$ cd my_project/
$ symfony serve

Then access the application in your browser at the given URL (https://localhost:8000 by default).

If you don't have the Symfony binary installed, run php -S localhost:8000 -t public/ to use the built-in PHP web server or configure a web server like Nginx or Apache to run the application.

Tests

Execute this command to run tests:

$ cd my_project/
$ ./bin/phpunit