Skip to content

mrceperka/php-demo-app

Repository files navigation

PHP demo app

TODO features

Scan code for TODO feature.

Pick a feature that sounds interesting to you and implement it.

TODO features are focused on design, database, testing and tooling.

The difficulty of each feature varies.

Setup

1. step

Create empty file and start composition

touch .env.local
docker-compose up

2. step

Wait for the first step, then reset the database with following the command:

docker-compose exec -u $UID php php bin/console.php mig:res

Tests & static analysis

In order to run the tests, the docker composition has to be running.

docker-composer exec -u $UID php composer tests
docker-composer exec -u $UID php composer stan

Api

Public HTTP API provided by this demo.

Default http address is: http://172.22.0.20.

Routes

Utils

About

PHP 🐘, phpstan, nextras/orm demo project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages