nsmithuk/zf-config-dump 问题修复 & 功能扩展

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

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

nsmithuk/zf-config-dump

Composer 安装命令:

composer require nsmithuk/zf-config-dump

包简介

Dumps an application's config to the terminal

README 文档

README

A Zend Framework 2 module that provides a simple method for dumping an application's current configuration array to the commend line.

This is useful when some of the application’s configuration is set via environment variables, as is common when using container services.

Installing

zf-config-dump can be installed with Composer. Run this command:

composer require nsmithuk/zf-config-dump

Then you need to add ZFConfigDump to your config/application.config.php file under the modules key.

Usage and example output

Once installed, call the following to get the whole config output:

php public/index.php dump-config

Example output

If you only want to return the config for a specific key, you can add a filter. For example, to just return the config for your database, you can call:

php public/index.php dump-config database

Example output

You can also use dot notation to access deeper keys within the config. For example, to access the value set for just the database adapter:

php public/index.php dump-config database.adapter

Example output

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固