simonmarcellinden/databasesettings 问题修复 & 功能扩展

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

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

simonmarcellinden/databasesettings

Composer 安装命令:

composer require simonmarcellinden/databasesettings

包简介

Package for save seeings in your database.

README 文档

README

Latest Version on Packagist Total Downloads Build Status

DatabaseSettings is a package to easily store settings in the database and retrieve the setting using config('settings').

Installation

Via Composer

$ composer require simonmarcellinden/databasesettings

Register the package's service provider in config/app.php. In Laravel versions 5.5 and beyond, this step can be skipped if package auto-discovery is enabled.

Open and add the service provider to bootstrap/app.php

	$app->register(\SimonMarcelLinden\DatabaseSettings\DatabaseSettingsProvider::class);

Publish the configurations

Run this on the command line from the root of your project:

$ no config needed

Run the migrations to add the required tables to your database.

$ php artisan migrate:fresh

Run seed for example settings

$ php artisan db:seed --class=SimonMarcelLinden\DatabaseSettings\Database\Seeders\SettingSeeder

Default Routes

Default routes for store/update & view setting

	$router->group(['prefix' => 'image'], function () use ($router) {
		$router->get('/{id}', 'ImageController@show');
		$router->post('/upload', 'ImageController@upload');
		$router->delete('/delete/{id}', 'ImageController@delete');
	});

Add a Script or Style Source directly into your route or controller

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email info@snerve.de instead of using the issue tracker.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固