joomlatools/framework-migrator 问题修复 & 功能扩展

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

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

joomlatools/framework-migrator

Composer 安装命令:

composer require joomlatools/framework-migrator

包简介

A reusable component for migrations

README 文档

README

This is a re-usable component for exporting and importing extension data for Joomlatools Framework.

Requirements

  • Joomlatools Framework 3 or newer
  • PHP 7.3 or newer
  • MySQL 5

Installation

Install using Composer. Go to the root directory of your Joomla installation in command line and execute this command:

composer require joomlatools/framework-migrator:1.*

The component will be installed in the vendor folder of the root directory of your Joomla site. The composer installer will make sure that the component is bootstrapped from that location and made available to other components extending it or just making use of it.

How to use

Include the behavior in your extension's dispatcher:

class ComFooDispatcherHttp extends ComKoowaDispatcherHttp
{
    protected function _initialize(KObjectConfig $config)
    {
        $config->append(array(
            'behaviors'  => array(
                'com:migrator.dispatcher.behavior.migratable'
            )
        ));

		parent::_initialize($config);
    }
}

This will pick the migrators from the following identifiers by default:

com://admin/foo.migrator.export
com://admin/foo.migrator.import

Alternatively you can specify different identifiers in the behavior configuration.

Then navigate to view=export or view=import in your extension to perform migrations.

Contributing

This component is an open source, community-driven project. Contributions are welcome from everyone. We have contributing guidelines to help you get started.

Authors

See the list of contributors.

License

The joomlatools-framework-migrator component is free and open-source software licensed under the GPLv3 license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2017-01-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固