arodu/cakephp-mazer

Mazer plugin for CakePHP

Installs: 160

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:cakephp-plugin

dev-1.next-cake5 2025-03-09 16:53 UTC

This package is auto-updated.

Last update: 2025-03-09 16:53:51 UTC


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