effectivesloth / clean-arch-maker
Symfony Maker helps you create classes for CLEAN architecture
Installs: 4 815
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: ^8.0
- symfony/maker-bundle: ^1.59
Requires (Dev)
- ekino/phpstan-banned-code: ^1.0
- friendsofphp/php-cs-fixer: ^3.36
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.11
- phpstan/phpstan-symfony: ^1.4
- roave/security-advisories: dev-latest
README
effectivesloth/clean-arch-maker is a Symfony bundle designed to facilitate the creation of clean architecture classes and interfaces.
Installation
Use the package manager composer to install effectivesloth/clean-arch-maker.
composer require --dev effectivesloth/clean-arch-maker
Usage
Generate a new use case by running:
bin/console make:clean:usecase DoStuff
This command will create the following files:
created: src/Core/Application/UseCase/DoStuff/DoStuffUseCase.php created: src/Core/Application/UseCase/DoStuff/DoStuffUseCaseInterface.php created: src/Core/Application/UseCase/DoStuff/DoStuffPresenterInterface.php created: src/Core/Application/UseCase/DoStuff/DoStuffRequest.php created: src/Core/Application/UseCase/DoStuff/DoStuffResponse.php Success! Core\Application\UseCase\DoStuff successfully generated