effectivesloth/clean-arch-maker

Symfony Maker helps you create classes for CLEAN architecture

1.3.0 2024-06-21 12:44 UTC

This package is auto-updated.

Last update: 2024-06-21 12:44:29 UTC


README

effectivesloth/clean-arch-maker

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