定制 shekarsiri/structure 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

shekarsiri/structure

最新稳定版本:1.1.3

Composer 安装命令:

composer require shekarsiri/structure

包简介

Laravel artisan command to create the basic application structure.

README 文档

README

Laravel artisan command to create the basic Application Structure.

Install

composer require shekarsiri/strucutre

Update the config file (config/app.php)

'providers' => [
	...,
	ShekarSiri\Structure\StructureServiceProvider::class,
];

Run the command

php artisan structure:make SomeApp/Post
php artisan structure:make SomeApp/Product

Results


└── SomeApp
    ├── Post
    │   ├── Events
    │   │   ├── PostCreatedEvent.php
    │   │   ├── PostDeletedEvent.php
    │   │   └── PostUpdatedEvent.php
    │   ├── Exceptions
    │   ├── Facades
    │   │   └── Post.php
    │   ├── Jobs
    │   │   ├── PostCreate.php
    │   │   ├── PostDelete.php
    │   │   └── PostUpdate.php
    │   ├── Listeners
    │   ├── Post.php
    │   ├── PostService.php
    │   ├── PostServiceProvider.php
    │   ├── Providers
    │   │   └── PostEventServiceProvider.php
    │   ├── Repositories
    │   │   ├── PostRepository.php
    │   │   └── PostRepositoryEloquent.php
    │   └── Requests
    │       ├── PostCreateRequest.php
    │       └── PostUpdateRequest.php
    └── Product
        ├── Events
        │   ├── ProductCreatedEvent.php
        │   ├── ProductDeletedEvent.php
        │   └── ProductUpdatedEvent.php
        ├── Exceptions
        ├── Facades
        │   └── Product.php
        ├── Jobs
        │   ├── ProductCreate.php
        │   ├── ProductDelete.php
        │   └── ProductUpdate.php
        ├── Listeners
        ├── Product.php
        ├── ProductService.php
        ├── ProductServiceProvider.php
        ├── Providers
        │   └── ProductEventServiceProvider.php
        ├── Repositories
        │   ├── ProductRepository.php
        │   └── ProductRepositoryEloquent.php
        └── Requests
            ├── ProductCreateRequest.php
            └── ProductUpdateRequest.php
        

统计信息

  • 总下载量: 70
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-16