Go to file
Lewis Dale 657975324a Stuff
2024-09-17 21:52:08 +01:00
.idea Stuff 2024-09-17 21:52:08 +01:00
bin Stuff 2024-09-17 21:52:08 +01:00
src Stuff 2024-09-17 21:52:08 +01:00
views Initial commit 2024-08-30 13:28:30 +01:00
.env.example Initial commit 2024-08-30 13:28:30 +01:00
.gitignore Initial commit 2024-08-30 13:28:30 +01:00
composer.json Stuff 2024-09-17 21:52:08 +01:00
composer.lock Stuff 2024-09-17 21:52:08 +01:00
index.php Initial commit 2024-08-30 13:28:30 +01:00
README.md Initial commit 2024-08-30 13:28:30 +01:00

PHP Project Template

This is a template for PHP projects. It includes a basic project structure, with Doctrine ORM

Installation

  1. Run composer install
  2. Copy .env.example to .env and edit the values
  3. Run php bin/doctrine orm:schema-tool:create to create the database

Running locally

  1. Run php -S localhost:8000 -t public to start the web server

Running tests

  1. Run php vendor/bin/phpunit to run the tests