stdio/stdio-template

There is no license information available for the latest version (dev-master) of this package.

STDIO's Template Laravel

dev-master 2022-04-08 12:38 UTC

This package is auto-updated.

Last update: 2025-06-11 22:36:57 UTC


README

To get started with Base STDIO's Template: Repository, DTO(Data Transfer Object), Helper , use Composer to add the package to your project's dependencies

Repository

Basic Usage

Next, you are ready to use repository. If you want create repository with Model corresponding(example:UserRepository), run commnand line

php artisan make:repository UserRepository

It will create UserRepository + UserInterface.

After that run script to create StdioAppServiceProvider.php, and you still need to bind its interface for your real repository, for example in your own StdioAppServiceProvider.php.

php artisan vendor:publish --tag=stdio-service-provider

DTO

Basic Usage

Next, you are ready to use DTO. If you want create DTO with Model corresponding(example: UserDTO)

php artisan make:DTO DTORepository

STDIO Helper

CollectionStdio

Basic Usage

This is custom Laravel's collection.

php artisan vendor:publish --tag=stdio-helper