- Laravel 10
- MYSQL 8
- Redis
git clone- clone the repositorycp .env.example .env- copy the .env filephp artisan key:generate- generate the keydocker-compose up -d- start the containers
- CodeSniffer :
./vendor/bin/phpcs --standard=PSR12 -s app- checking app folder for psr-12 standart(feel free to choose standart)./vendor/bin/phpcbf --standard=PSR12 -s app- fix issues in app folder for psr-12 standart- PHPstan :
-
./vendor/bin/phpstan analyse app --memory-limit=-1- analyze your code - SonarQube
- its a static code analyzator, please check the documentation of SonarQube
- PHPUnit :
./vendor/bin/phpunit- run phpunit tests- Codeception :
php vendor/bin/codecept run --steps- run codeception tests