wangzd / laravel-custom-page
laravel-custom-page是一个用于管理你可以允许普通用户编辑的页面内容
0.1
2017-10-25 03:16 UTC
Requires
- php: >=5.5.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-09-29 04:25:59 UTC
README
laravel-custom-page是一个用于管理你可以允许普通用户编辑的页面内容
使用
安装
使用 composer require "wangzd/laravel-custom-page:*"
配置
Laravel应用
- 注册
ServiceProvider
Wangzd\Page\PageServiceProvider::class,
2. 创建配置和迁移文件
```shell
php artisan vendor:publish
- 执行迁移命令,生成数据表
php artisan migrate
5. 将门面添加到config/app.php中的aliases部分
'Page' => Wangzd\Page\Facades\Dict::class
许可证
MIT