This template was created for a quick start of a Laravel project with already prepared basic logic and is required by the environment:
To start the template you will need git and docker/docker compose
Performing steps:
You can also submit a template to yourself through the GitHub interface
git clone https://github.com/deniskorbakov/laravel-12-frankenphp-docker.gitLet's go to the cloned repository
cd laravel-12-frankenphp-dockerCopy env example to env
cp .env.example .envLet's run the command to start the project
make initDocker images - utilities:
- Laravel 12
- Frankenphp
- Postgres
- Redis
- Supervisor
- Traefik
- Mailhog
Auxiliary services:
- Rector + Phpstan + Php_codesniffer
- Pest
Libraries - prepared code:
- DTO Laravel-data
- WebSocket - centrifugo
- Horizon - monitoring queue
- laravel/octane
- Admin panel - Filament
- API logic auth
- Logic saved files in storage - db
- Scribe API doc
- Dozzle - monitoring containers
- Pulse - monitoring app
Additional functionality:
- Multi-stage build
- Prepared assembly for local development and sales
- Configured GitHub actions for stat analyzers and deployment
- Customized role system
- Centrifugo real-time messaging server
- Ansible is configured to set up the production environment
- Monitoring system
- Tess - Unit/Feature/Coverage/Architecture
Go to the project address:
- API doc
- Admin panel
- Dozzle
- Horizon - available only to users with the Developer role
- Pulse - available only to users with the Developer role
The command for exec in app container
make execThe command for check code (phpstan, php cs, rector, peck)
make lintThe command for fix err (php cs, rector)
make lint-fixThe command for run tests
make testThe command for run test coverage
make test-coverage