442 B
442 B
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.example
to.env
and edit the values - Run
php bin/doctrine orm:schema-tool:create
to create the database
Running locally
- Run
php -S localhost:8000 -t public
to start the web server
Running tests
- Run
php vendor/bin/phpunit
to run the tests