start_sf5_project/app
Tchama 3751003188 install symfony demo with installer 2021-04-16 09:37:45 +02:00
..
.github/workflows install symfony demo with installer 2021-04-16 09:37:45 +02:00
assets install symfony demo with installer 2021-04-16 09:37:45 +02:00
bin install symfony demo with installer 2021-04-16 09:37:45 +02:00
config install symfony demo with installer 2021-04-16 09:37:45 +02:00
migrations install symfony demo with installer 2021-04-16 09:37:45 +02:00
public install symfony demo with installer 2021-04-16 09:37:45 +02:00
src install symfony demo with installer 2021-04-16 09:37:45 +02:00
templates install symfony demo with installer 2021-04-16 09:37:45 +02:00
tests install symfony demo with installer 2021-04-16 09:37:45 +02:00
translations install symfony demo with installer 2021-04-16 09:37:45 +02:00
.editorconfig install symfony demo with installer 2021-04-16 09:37:45 +02:00
.env install symfony demo with installer 2021-04-16 09:37:45 +02:00
.env.test install symfony demo with installer 2021-04-16 09:37:45 +02:00
.gitignore install symfony demo with installer 2021-04-16 09:37:45 +02:00
.keep fix docker container config 2021-04-16 09:24:07 +02:00
.php_cs.dist install symfony demo with installer 2021-04-16 09:37:45 +02:00
CONTRIBUTING.md install symfony demo with installer 2021-04-16 09:37:45 +02:00
README.md install symfony demo with installer 2021-04-16 09:37:45 +02:00
composer.json install symfony demo with installer 2021-04-16 09:37:45 +02:00
composer.lock install symfony demo with installer 2021-04-16 09:37:45 +02:00
package.json install symfony demo with installer 2021-04-16 09:37:45 +02:00
phpunit.xml.dist install symfony demo with installer 2021-04-16 09:37:45 +02:00
symfony.lock install symfony demo with installer 2021-04-16 09:37:45 +02:00
webpack.config.js install symfony demo with installer 2021-04-16 09:37:45 +02:00
yarn.lock install symfony demo with installer 2021-04-16 09:37:45 +02:00

README.md

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