承接 lion/route 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

lion/route

最新稳定版本:v13.1.0

Composer 安装命令:

composer require lion/route

包简介

This library has quick router usage with regular expressions.

README 文档

README

presentation-lion-packages

Latest Stable Version Total Downloads License PHP Version Require

🚀 Lion-Route This library has quick router usage with regular expressions.

📖 Features

✔️ Supports post, get, put, delete, options, and match methods.
✔️ Middleware Support.
✔️ Support with route group.

📦 Installation

Install the route using Composer:

composer require lion/route lion/exceptions lion/request lion/security lion/dependency-injection

Usage Example

<?php

declare(strict_types=1);

use Lion\Route\Route;
use App\Http\Controllers\UsersController;

Route::init();

Route::get('users', function(UsersController $usersController): mixed {
    return $usersController->method();
});

Route::dispatch();

📝 License

The route is open-sourced software licensed under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-01