tucksaun / symfony-demo
SymfonyCloud Demo Application
Requires
- php: ^7.1.3
- ext-pdo_pgsql: *
- doctrine/doctrine-bundle: ^1.6.10
- doctrine/doctrine-migrations-bundle: ^1.3
- doctrine/orm: ^2.5.11
- erusev/parsedown: ^1.6
- sensio/framework-extra-bundle: ^5.1
- sensiolabs/security-checker: ^5.0
- symfony/asset: *
- symfony/console: *
- symfony/dotenv: *
- symfony/expression-language: *
- symfony/flex: ^1.1
- symfony/form: *
- symfony/framework-bundle: *
- symfony/intl: *
- symfony/monolog-bundle: ^3.1
- symfony/polyfill-intl-messageformatter: ^1.12
- symfony/polyfill-php72: ^1.8
- symfony/security-bundle: *
- symfony/swiftmailer-bundle: ^3.1
- symfony/translation: *
- symfony/twig-bundle: *
- symfony/validator: *
- symfony/webpack-encore-bundle: ^1.4
- symfony/yaml: *
- tgalopin/html-sanitizer-bundle: ^1.1
- twig/extensions: ^1.5
- twig/twig: ^2.6
Requires (Dev)
- dama/doctrine-test-bundle: ^5.0
- doctrine/doctrine-fixtures-bundle: ^3.0
- friendsofphp/php-cs-fixer: ^2.12
- symfony/browser-kit: *
- symfony/css-selector: *
- symfony/debug-bundle: *
- symfony/maker-bundle: ^1.11
- symfony/phpunit-bridge: *
- symfony/stopwatch: *
- symfony/web-profiler-bundle: *
- symfony/web-server-bundle: *
Conflicts
This package is auto-updated.
Last update: 2024-11-19 21:19:10 UTC
README
The "Symfony Demo Application" is a reference application created to show how to develop applications following the Symfony Best Practices.
Requirements
- PHP 7.1.3 or higher;
- PDO-SQLite PHP extension enabled;
- and the usual Symfony application 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