wecode/generator

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

1.0.2 2019-02-07 11:56 UTC

This package is auto-updated.

Last update: 2025-07-08 10:16:48 UTC


README

This repo is for generating template files for the Service Repository pattern.

Usage

Resource names should be provided in singular. Controller names will be converted to plural.

php artisan resources:create Car

This will create a Controller, Request, Resource, Model, Service and Repository.

The folder structure will be:

├── App                   
    ├── Http    
        ├── Controllers
        ├── Requests
            ├── Car
        ├── Resources 
            ├── Car              
    ├── Models
    ├── Repositories                     
    ├── Services