承接 panjinamjaelf/kaguya 相关项目开发

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

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

panjinamjaelf/kaguya

Composer 安装命令:

composer require panjinamjaelf/kaguya

包简介

Save app settings on laravel framework.

README 文档

README

Software License StyleCI GitHub Workflow Status Run PHPUnit tests Latest Version on Packagist

Laravel package used to store your app settings.

Installation

composer require panjinamjaelf/kaguya

After install the package you should run the kaguya:install artisan command. This command will publish kaguya assets and migrate database.

Configuration

You can configure the available menu on settings with publishing the package configuration

php artisan vendor:publish --tag=kaguya-config

Content of the configuration

key default value Description
settings default settings Configure section of the settings page.
path env('KAGUYA_PATH', 'settings') This URI path where settings will be accessible from.
middleware ['web', 'auth']

Usage

To get setting value from storage

setting('setting_name', 'default');

Set current setting value

setting(['setting_name' => 'value']);

If you want to reset your current settings to default value you can run this command

php artisan kaguya:reset

Add this following script on any view or controller to get settings page url

route('settings');

View

If you want to customize the view you can publish the view with this command

php artisan vendor:publish --tag=kaguya-views

Translation

This package contain translation files, you may run this command to customize the translation.

php artisan vendor:publish --tag=kaguya-translations

License

This project and the Laravel framework are open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 10
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固