docker-compose up -d
docker-compose exec app composer install
docker-compose exec app php artisan migrate
docker-compose exec app php artisan db:seed
npm install
npm run dev
//Start consumer
docker-compose exec app php artisan queue:listen --queue=pending-transactions
Now it's running on http://localhost:8080.
You can use [email protected]
and password
to login with the test user.
This application use PHPUnit to run the unit tests.
docker-compose exec app composer code:test
This application use Larastan to run the code analysis.
docker-compose exec app composer code:analyze
This application use PHP CodeSniffer to verify the PHP code standards.
docker-compose exec app composer code:sniffer
Run code:sniffer:fix
to fix the errors automaticaly.