rudra/controller 问题修复 & 功能扩展

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

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

rudra/controller

Composer 安装命令:

composer require rudra/controller

包简介

Rudra framework

README 文档

README

PHPunit Maintainability CodeFactor Coverage Status

Rudra-Controller | API

Lightweight, Transparent, and Secure MVC Implementation

A high-performance controller abstraction for the Rudra Framework. Designed with a "no-magic" philosophy, strict typing, and enterprise-grade security out-of-the-box.

🧩 Lifecycle Hooks

Structured execution flow to maintain separation of concerns without layer pollution:

  • init() — Initialization of dependencies.
  • before() — Pre-action checks and routing.
  • after() — Post-action handling.

🚀 Installation

Install via Composer (assuming the package registry):

composer require rudra/controller

📖 Quick Start

<?php declare(strict_types=1);

namespace App\Containers\Container\Controller;

class SomeController extends ContainerController
{
    public function index(): void
    {
        // Your logic here - CSRF already protected
        echo "Hello, Rudra!";
    }
}

License

This project is licensed under the Mozilla Public License 2.0 (MPL-2.0) — a free, open-source license that:

  • Requires preservation of copyright and license notices,
  • Allows commercial and non-commercial use,
  • Requires that any modifications to the original files remain open under MPL-2.0,
  • Permits combining with proprietary code in larger works.

📄 Full license text: LICENSE
🌐 Official MPL-2.0 page: https://mozilla.org/MPL/2.0/

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MPL-2.0
  • 更新时间: 2016-07-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固