Download the PHP package lwz/laravel-extend-artisan without Composer
On this page you can find all versions of the php package lwz/laravel-extend-artisan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-extend-artisan
一、工程目录结构
二、初始化项目
-
安装
-
注册服务提供者 在 config/app.php 注册 ServiceProvider (Laravel 5.5 + 无需手动注册)
-
composer.json
添加 Core 的目录命名空间 -
创建模板文件
- 删除 app 目录下的子目录
三、新建领域示例
创建 Foo 领域的 Bar 功能
-
创建相关文件
-
将对应模块的服务提供者注册到
Core/Providers/AppServiceProvider.php
中 -
在
app/Foo/Routes/routes.php
中定义路由如果需要自定义路由文件,在
app/Foo/Providers/FooServiceProvider.php
服务提供者的$routes
属性中定义即可
四、命名说明:
All versions of laravel-extend-artisan with dependencies
PHP Build Version
Package Version
Requires
ext-json Version
*
The package lwz/laravel-extend-artisan contains the following files
Loading the files please wait ....