Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amazeelabs/algm-symfony-base
https://github.com/amazeelabs/algm-symfony-base
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/amazeelabs/algm-symfony-base
- Owner: AmazeeLabs
- License: mit
- Created: 2020-01-19T21:02:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T09:00:28.000Z (over 3 years ago)
- Last Synced: 2024-11-22T23:32:50.842Z (2 months ago)
- Language: PHP
- Size: 3.59 MB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Symfony Demo Application
========================The "Symfony Demo Application" is a reference application created to show how
to develop applications following the [Symfony Best Practices][1].Requirements
------------* PHP 7.2.9 or higher;
* PDO-SQLite PHP extension enabled;
* and the [usual Symfony application requirements][2].Installation
------------[Download Symfony][4] to install the `symfony` binary on your computer and run
this command:```bash
$ symfony new --demo my_project
```Alternatively, you can use Composer:
```bash
$ 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][4], run this command and access the application in your
browser at the given URL ( by default):```bash
$ cd my_project/
$ symfony serve
```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][3] like Nginx or
Apache to run the application.Tests
-----Execute this command to run tests:
```bash
$ cd my_project/
$ ./bin/phpunit
```[1]: https://symfony.com/doc/current/best_practices.html
[2]: https://symfony.com/doc/current/reference/requirements.html
[3]: https://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html
[4]: https://symfony.com/download
[5]: https://github.com/symfony/webpack-encore