Downloads
Stars
Version
It supports Laravel 9+ and PHP 8.1+
This package is small cli tool for creating the Action class, DTO class and Service class.
Require this package with composer using the following command:
composer require thuraaung2493/laravel-make-files-tools@dev
php artisan make:dto NewUser --pest
// created in App\DataObjects\NewUser.php & tests/Feature/DataObject/NewUserTest.php
php artisan make:action CreateUserAction --pest
// created in App\Actions\CreateUserAction.php & tests/Feature/Actions/CreateUserActionTest.php
php artisan make:service NotificationService --pest
// created in App\Services\NotificationService.php & tests/Feature/Services/NotificationServiceTest.php