定制 dcodegroup/laravel-configuration 二次开发

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

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

dcodegroup/laravel-configuration

最新稳定版本:0.2.4

Composer 安装命令:

composer require dcodegroup/laravel-configuration

包简介

Simple package which dcode uses to handle application configuration and setting storage from third parties

README 文档

README

This package provides a central way to store Laravel configuration and settings.

Installation

You can install the package via composer:

composer require dcodegroup/laravel-configuration

Then run the install command.

php artisan laravel-configuration:install

This will publish the migration file.

Run the migrations

php artisan migrate

Usage

A model is made available Dcodegroup\LaravelConfiguration\Models\Configuration.php You can use this as is or extend it via your own model.

Basic usage is like any other laravel model

Configuration::create([
  'name' => 'xero_leave_types',
  'value' => $data
]);

There are poly morphic fields on the table so you may also make a polymorphic relations to the configurations table if needed.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-09-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固