stdio/stdio-template

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

STDIO's Template Laravel

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/stdio/stdio-template

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

This package is auto-updated.

Last update: 2026-01-11 23:47:25 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