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

1.3.0 2024-06-21 12:44 UTC

This package is auto-updated.

Last update: 2024-11-03 03:07:43 UTC


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