承接 digbang/settings 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

digbang/settings

最新稳定版本:v6.3.0

Composer 安装命令:

composer require digbang/settings

包简介

A model for data-driven settings.

README 文档

README

(This package uses laravel-doctrine)

Installation

composer require digbang/settings

Then

  1. Add the service provider to your app.php config file
  2. Publish or copy the config file

Usage

Change the config file (settings.php) to create, update or edit your settings.

If you want to use an EnumSetting, you need to have a class that extends Digbang\Utils\Enumerables\Enum Also, the default value for this setting should be an array as follows [YourEnum::class, YourEnum::YourValue]

If you want to use the TimeSetting, note that the expected value is a string with format H:i

All other settings should have a default value of the type the setting requires.

After configuring your settings, use the command settings:sync to synchronize the config with the database.

You can use the SettingsRepository to get the values by id, key, etc.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 32
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固