定制 matryoshka-model/zf2-matryoshka-module 二次开发

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

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

matryoshka-model/zf2-matryoshka-module

Composer 安装命令:

composer require matryoshka-model/zf2-matryoshka-module

包简介

ZF2 integration module for Matryoshka

README 文档

README

ZF2 module for Matryoshka -------------------------

Latest Stable Version Build Status Coverage Status Matryoshka Model's Slack

ZF2 integration module for Matryoshka.

This repository contains a ZF2 module that registers default services and provides a set of useful controller plugins.

Community

For questions and support please visit the slack channel (get an invite here).

Installation

Using composer:

Add the following to your composer.json file:

"require": {
    "matryoshka-model/zf2-matryoshka-module": "~0.8.0"
}

Finally, add the module name to your project's config/application.config.php under the modules key:

return [
    /* ... */
    'modules' => [
        /* ... */
        'Matryoshka',
    ],
    /* ... */
];

How-to

Before using this module you only need to configure Matryoshka settings according to your model.

Then you can use built-in plugins in your controllers.

Example:

public function fooAction()
{
	$myModel  = $this->model()->get('MyModel'); // Retrieve a model instance through the ModelManager
	$myObject = $this->object()->get('MyObject'); // Retrieve an object instance through the ModelManager
}

Analytics

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2014-08-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固