mirzaev/minimal
Composer 安装命令:
composer require mirzaev/minimal
包简介
The best code-to-utility framework
README 文档
README
The best code-to-utility framework
Nearest plans (2025)
- Routes sorting
router::sort()
Installation
Execute: composer require mirzaev/minimal
Usage
index.php
// Initializing the core
$core = new core(namespace: __NAMESPACE__);
// Initializing routes
$core->router
->write('/', new route('index', 'index'), 'GET')
->write('/search', new route('search', 'search'), 'POST')
->write('/product/create', new route('product', 'create'), 'PUT')
->write('/product/$id', new route('product', 'read'), 'GET')
->write('/product/$id', new route('product', 'read'), 'POST')
->write('/$categories', new route('categories', 'read'), 'GET') // Collector (since 0.3.0)
;
// Handling the request
$core->start();
统计信息
- 总下载量: 110
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: WTFPL
- 更新时间: 2021-09-25