定制 cmxperts/laravel-settings 二次开发

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

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

cmxperts/laravel-settings

最新稳定版本:v1.02

Composer 安装命令:

composer require cmxperts/laravel-settings

包简介

Laravel Settings Manager

README 文档

README

Settings Management for Laravel 10

Installation

  1. Run
composer require cmxperts/laravel-settings

Step 2 & 3 are optional if you are using laravel 5.5

  1. Add the following class, to "providers" array in the file config/app.php (optional on laravel 5.5)
CmXperts\Settings\SettingsServiceProvider::class,
  1. Run publish
php artisan vendor:publish --provider="CmXperts\Settings\SettingsServiceProvider"
  1. Configure (optional) in config/cmx_settings.php :
  • CUSTOM MIDDLEWARE: You can add you own middleware
  • TABLE PREFIX: By default this package will create 1 new table named "settings" but you can still add your own table prefix avoiding conflict with existing table
  • TABLE NAMES If you want use specific name of table you have to modify that and the migrations
  • Custom routes If you want to edit the route path you can edit the field
  • Role Access If you want to enable roles (permissions) on menu items
  1. Run migrate
php artisan migrate

DONE

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-26