degordian/yii2-frontend-controller 问题修复 & 功能扩展

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

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

degordian/yii2-frontend-controller

Composer 安装命令:

composer require degordian/yii2-frontend-controller

包简介

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db).

README 文档

README

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db).

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist degordian/yii2-frontend-controller "*"

or add

"degordian/yii2-frontend-controller": "*"

to the require section of your composer.json file.

Usage

To access the module, you need to add this to your application configuration:

<?php
    ......
    'modules' => [
        'frontend' => [
            'class' => 'degordian\frontendController\Module',
        ],
    ],
    ......

Then to use this extension open up http://your-project.local/frontend/<layout>/<controller>/<action>

Advanced usage allows for a custom output message or dynamic number of iterations by appending ?m=&i= example:

http://my-project.local/frontned/main/site/index?m=Short+message&i=15

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固