Skip to content
Symfony Demo Application
PHP HTML JavaScript CSS
Branch: master
Clone or download
Latest commit 3058213 Sep 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Updated the design of the language selector May 28, 2019
bin chore(phpunit): remove lines for `SYMFONY_PHPUNIT_REMOVE` Jun 11, 2019
config Apply latest changes in FWBundle recipe Jun 14, 2019
data revert fixtures db change Jun 11, 2019
public Tweak versioning and return back failing on CI Jun 25, 2019
src Minor tweaks Sep 10, 2019
templates feature #1006 Added a Paginator object based on Doctrine's paginator … Jul 24, 2019
tests Updated to Symfony 4.3 May 30, 2019
translations Add Lithuanian validator translations Jul 27, 2019
var remove leftover SymfonyRequirements from standard-edition Nov 1, 2018
.editorconfig Add EditorConfig file Dec 8, 2015
.env Use HTTPS and fix a url Jul 13, 2019
.env.test Use bootstrap.php for tests and environment-specific settings Dec 13, 2018
.gitignore Use bootstrap.php for tests and environment-specific settings Dec 13, 2018
.php_cs.dist Enabled the no_superfluous_phpdoc_tags fixer rule Jul 19, 2018
.travis.yml Travis ci Sep 10, 2019
CONTRIBUTING.md Always use https:// when linking to symfony.com Apr 27, 2017
LICENSE Update license year Jul 7, 2019
README.md Reword Jun 3, 2019
appveyor.yml minor #655 Cache the phpunit install between builds on CI (stof) Sep 20, 2017
composer.json Require symfony/dotenv in prod too Jun 10, 2019
composer.lock Travis ci Sep 10, 2019
package.json Updated FontAwesome icons to 5.8 version May 2, 2019
phpunit.xml.dist use phpunit 7.5 Jun 11, 2019
symfony.lock Updated dependencies to Symfony 4.3.2 Jul 5, 2019
webpack.config.js Minor reword Jun 25, 2019
yarn.lock Updated the front-end dependencies Jun 3, 2019

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

Install the Symfony client binary 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 the Symfony client binary, run this command to run the built-in web server and access the application in your browser at http://localhost:8000:

$ cd my_project/
$ symfony serve

If you don't have the Symfony client installed, run php bin/console server:run. Alternatively, you can configure a web server like Nginx or Apache to run the application.

Tests

Execute this command to run tests:

$ cd my_project/
$ ./bin/phpunit
You can’t perform that action at this time.