定制 arodu/cakephp-mazer 二次开发

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

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

arodu/cakephp-mazer

Composer 安装命令:

composer require arodu/cakephp-mazer

包简介

Mazer plugin for CakePHP

README 文档

README

Warning

This plugin is under development and not ready for production.

Table of contents

Dependencies

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer require arodu/cakephp-mazer

Configuration

You can load the plugin using the shell command:

bin/cake plugin load Mazer

Add config on AppView.php

<?php
declare(strict_types=1);
namespace App\View;

use Cake\View\View;
use Mazer\View\MazerViewTrait;

class AppView extends View
{
    use MazerViewTrait;

    protected string $layout = 'Mazer.default';

    public function initialize(): void
    {
        parent::initialize();
        $this->initializeMazer();
    }
}

© 2025 arodu

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-27