dick/settings 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

dick/settings

最新稳定版本:1.1.2

Composer 安装命令:

composer require dick/settings

包简介

Application settings interface for Laravel 5 using Dick CRUD.

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

An interface for the administrator to easily change application settings. Uses Dick CRUD, on Laravel 5.1.

THERE ARE BETTER THINGS THAN DICK The Dick project is no longer actively maintained. For important projects please use the new version: Laravel Backpack.

Install

Via Composer

$ composer require dick/settings
$ php artisan vendor:publish --provider="Dick\Settings\SettingsServiceProvider"
$ php artisan migrate

Usage

End user

Add it to the menu or access it by its route: application/admin/setting

Programmer

Use it like you would any config value in a virtual settings.php file. Except the values are stored in the database and fetched on boot, instead of being stored in a file.

Config::get('settings.contact_email')

Add new settings

Settings are stored in the database in the "settings" table. Its columns are:

  • id (ex: 1)
  • key (ex: contact_email)
  • name (ex: Contact form email address)
  • description (ex: The email address that all emails go to.)
  • value (ex: admin@usedick.com)
  • field (Dick CRUD field configuration in JSON format. http://usedick.com/docs)
  • active (1 or 0)
  • created_at
  • updated_at

There is no interface available to add new settings. They are added by the developer directly in the database, since the Dick CRUD field configuration is a bit complicated. See the field types and their configuration code on http://usedick.com/docs

Screenshots

See http://usedick.com

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email hello@tabacitu.ro instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-27