定制 dotblue/nextras-migrations-command 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

dotblue/nextras-migrations-command

Composer 安装命令:

composer require dotblue/nextras-migrations-command

包简介

Easy setup for nextras/migrations with kdyby/console

README 文档

README

Requirements

Installation

  1. Copy source codes from Github or using Composer:
$ composer require dotblue/nextras-migrations-command@~1.0
  1. Register as Configurator's extension:
extensions:
	migrations: DotBlue\Migrations\MigrationsExtension
  1. Set configuration to fit your app:
migrations:
	extensions:
		sql: Nextras\Migrations\Extensions\NetteDbSql
	groups:
		structures: %appDir%/../sql
  1. By default, migrations use Nette\Database to connect to DB.
nette:
	database:
		dsn:
		user:
		password:

symfony/console or kdyby/console?

You can use this extension with plain Symfony Console. But if you use Kdyby Console, command will get registered automatically.

kdyby/events ?

if you use kdyby/events, you can listen to following events:

  • nextras.migrations.success (when migrations finish successfully)
  • nextras.migrations.fail (when migrations finish with exception)
  • nextras.migrations.complete (when migrations finish regardless outcome)

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 6
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-03-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固