| .idea | ||
| bin | ||
| src | ||
| views | ||
| .env.example | ||
| .gitignore | ||
| composer.json | ||
| composer.lock | ||
| index.php | ||
| README.md | ||
PHP Project Template
This is a template for PHP projects. It includes a basic project structure, with Doctrine ORM
Installation
- Run
composer install - Copy
.env.exampleto.envand edit the values - Run
php bin/doctrine orm:schema-tool:createto create the database
Running locally
- Run
php -S localhost:8000 -t publicto start the web server
Running tests
- Run
php vendor/bin/phpunitto run the tests