letsmoe/blade
最新稳定版本:2.3.2
Composer 安装命令:
composer require letsmoe/blade
包简介
Lightweight API framework including caching, routing and database access.
README 文档
README
Blade is a fully featured API framework for building web applications that require fast and lightweight development.
Installation
Blade can be installed via composer using the following command
composer require letsmoe/blade
Once it has been installed, you can include the composer autoload script in your application like so:
include_once "vendor/autoload.php";
Usage
Blade provides multiple methods for loading a new App. Since Blade relies on a specific form of htaccess, we recommend you use this template:
RewriteEngine on
RewriteRule ^(?!/index)(.*) /index/$1 [L]
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
App
Blade comes preloaded with an App class which provides all the methods you need to specify routes in your application.
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-18