承接 tahirrasheed208/laravel-settings 相关项目开发

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

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

tahirrasheed208/laravel-settings

最新稳定版本:3.2.0

Composer 安装命令:

composer require tahirrasheed208/laravel-settings

包简介

Store your application settings

README 文档

README

Latest Version on Packagist Build Status Total Downloads

This package allows you to save settings in DB & Cache. You can use helper function to get settings value anywhere within laravel.

  • Database support
  • Helper function
  • Cache support

Getting Started

1. Install

Run the following command:

composer require tahirrasheed208/laravel-settings

2. Publish

Publish config file.

php artisan vendor:publish --provider="TahirRasheed\LaravelSettings\SettingsServiceProvider" --tag=settings-config

3. Preparing the database

You need to publish the migration to create the media table:

php artisan vendor:publish --provider="TahirRasheed\LaravelSettings\SettingsServiceProvider" --tag=settings-migration

After that, you need to run migrations.

php artisan migrate

4. Configure

You can change the options of your app from config/settings.php file

Usage

Helper

setting()->get('foo');
setting()->get('foo', 'default');
setting()->put('foo', 'bar');
setting()->delete('foo');

Facade

Setting::get('foo');
Setting::get('foo', 'default');
Setting::put('foo', 'bar');
Setting::delete('foo');

Testing

./vendor/bin/phpunit

Changelog

Please see Releases for more information what has changed recently.

Contributing

Pull requests are more than welcome. You must follow the PSR coding standards.

Security

If you discover any security related issues, please email tahirrasheedhtr@gmail.com instead of using the issue tracker.

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固