mika-iriarte/voyager-config 问题修复 & 功能扩展

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

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

mika-iriarte/voyager-config

最新稳定版本:1.0.3

Composer 安装命令:

composer require mika-iriarte/voyager-config

包简介

Voyager menu and configuration export/import

README 文档

README

Commands for export/import Voyager menu and config

Introduction

Voyager for Laravel is great, but it has one downside: all configuration is done within the database and cannot be configured with code. When you have multiple environments (e.g. development, staging, production), you will have conflicting configurations which is hard to sync. This packages tries to solve this by offering the following commands:

artisan voyager:export

This command will export all Voyager related tables into .json files into the config folder. Don't forget to commit this folder! :)

artisan voyager:import

This command will import all data from the config folder into the Voyager related tables.

Additional options:

--clear | -c — for Voyager tables before import

--cache-reset | -r — for reset and recreate Voyager menu

artisan voyager:clear

Made a mistake? Want to start again? Remove all exported data with voyager:clean.

Install

composer require slice-of-code-it-consultancy/voyager-config

php artisan vendor:publish --provider=MadeByBob\\VoyagerConfig\\VoyagerConfigServiceProvider

Commands explained

This documentation is still to do. Try artisan list and artisan voyager:export --help for more information

Contact

If you have suggestions or questions feel free to open up a new issue or pull request.

You can e-mail me at support@sofcode.xyz.

统计信息

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

GitHub 信息

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

其他信息

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