PHP + PostgreSQL + PGAdmin4 + Composer
A complete template for small projects
Running the project
To run this project you only need to run docker-compose up
Using PGAdmin
- PGAdmin URL: localhost:8080
- PGAdmin User: [email protected]
- PGAdmin Password: root
- PostgreSQL Server: pgsql
- PostgreSQL User: root
- PostgreSQL Password: root
Useful Commands
-
Installing dependencies with composer:
docker-compose run php composer install
-
Running dump-autoload:
docker-compose run php composer dump-autoload
-
Running unit tests:
docker-compose run php "./vendor/bin/phpunit"