kakhura/laravel-site-bases
最新稳定版本:63.2.0
Composer 安装命令:
composer require kakhura/laravel-site-bases
包简介
This package is site bases functionality
README 文档
README
Docs
Installation
Add the package in your composer.json by executing the command.
composer require kakhura/laravel-site-bases
For Laravel versions before 5.5 or if not using auto-discovery, register the service provider in config/app.php
'providers' => [ /* * Package Service Providers... */ \Kakhura\LaravelSiteBases\SiteBasesServiceProvider::class, ],
Configuration
If you want to change default configuration, you must publish default configuration file to your project by running this command in console:
php artisan vendor:publish --tag=kakhura-site-bases-config
This command will copy file [/vendor/kakhura/laravel-site-bases/config/kakhura.site-basbes.php] to [/config/kakhura.site-basbes.php]
Views
After publish Configuration, you must publish views, by running this command in console:
php artisan vendor:publish --tag=kakhura-site-bases-views
This command will copy file [/vendor/kakhura/laravel-site-bases/resources/views] to [/resources/views/vendor/admin/site-bases]
Migrations
After publish Views, you must publish migrations, by running this command in console:
php artisan vendor:publish --tag=kakhura-site-bases-migrations
This command will copy file [/vendor/kakhura/laravel-site-bases/database/migrations] to [/database/migrations]
After publish Migrations, you must run this command in console:
php artisan kakhura:run-commands
This command creates some necessary stuffs.
统计信息
- 总下载量: 236
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-18