- Yii 2
- PHP 8
- MySQL 8
- PHP Code Sniffer
- Codeception
- Docker
Note: First you should configure .env file in root directory (use .env.example as an example)
Then run command in root directory:
docker-compose -f dev/docker/docker-compose.yml --env-file=.env up
Linters based on Yii 2 standards.
To lint code you should execute next command from root directory (inside container):
./vendor/bin/phpcs .
Project's tests based on Yii 2 tests.
To run tests you should execute next command from root directory (inside container):
./vendor/bin/codecept run
There are 3 containers:
To manage MySQL database you can use phpmyadmin web-interface, available by next uri: localhost:$PMA_PORT
, where $PMA_PORT is a variable from environment file
Application database service. There is no database exists, you should create your own.
Contains application source files and PHP 8.0.6 to serve it.