Go to file
2024-08-30 13:28:30 +01:00
.idea Initial commit 2024-08-30 13:28:30 +01:00
bin Initial commit 2024-08-30 13:28:30 +01:00
src Initial commit 2024-08-30 13:28:30 +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 Initial commit 2024-08-30 13:28:30 +01:00
composer.lock Initial commit 2024-08-30 13:28:30 +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