laravel-10-clean-architecture
laravel-10-clean-architecture copied to clipboard
Yet another Laravel 10 DDD interpretation
Laravel 10 clean architechture
Laravel with DDD and clean architecture
Setup & start
1. Setup Docker
The first, install Docker and Docker Compose:
- https://docs.docker.com/install/
- https://docs.docker.com/compose/install/
2. Clone source code
Clone this project to your server or local machine.
3. Make config file
Run below command to make config file from sample file:
cp .env.example .env
4. Build & start application
Run following command to build & start your application
docker-compose up
Run in background
docker-compose up -d
5. Install packages
composer install
Executes tests
php artisan test
Executes check code quality
./vendor/bin/rector process
Useful link
- command/bus: https://tactician.thephpleague.com/installation/
- laravel-jwt https://github.com/tymondesigns/jwt-auth
- code quality: https://getrector.com/documentation