jigeshraval/laravel-scope
Composer 安装命令:
composer require jigeshraval/laravel-scope
包简介
Define the scope, Admin or Front, of a Laravel application so that the resources, controllers, and routes can be splitted
README 文档
README
Define the scope, Admin or Front, of a Laravel application so that the resources, controllers, and routes can be splitted. If you visit an admin route '/admin/product/add' then it should boot up required services for the admin side and ignore the services of the front end. This package helps to determine the scope of the application via admin_route which can be defined in "config/adlara.php" after the installation process
Installation
- composer require jigeshraval/laravel-scope
- Add "AdLara\Scope\ScopeProvider::class" in the providers array in config/app.php
- Run, php artisan vendor:publish --tag=adlarascope
Usage
-
After Installation, you can determine application scope by accessing app()->scope or config('adlara.app_scope') anywhere in the application.
-
You can modify admin route in the config/adlara.php file
Package
Visit https://github.com/jigeshraval/adlara-bootstrap for the full package installation which sets up Laravel admin with Vue, along with Rich Tools such as Media Library, and Image resizing, in no-time
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-24