jason-edstrom / sf4-demo-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:PHP 69.9%Language:HTML 20.9%Language:JavaScript 4.8%Language:CSS 3.8%Language:Dockerfile 0.6%