ar2labs / wiring
Wiring 是一个具有互操作性的 PHP 微型框架核心(PSRs)。
v2.3.6
2022-07-02 16:43 UTC
Requires
- php: >=7.2
- ext-json: *
- psr/cache: ^1.0
- psr/container: ^1.0
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
- psr/log: ^1.1
Requires (Dev)
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-09-30 01:41:43 UTC
README
Wiring 是一个具有互操作性的 PHP 微型框架核心(PSRs)。
此软件包符合以下 PSR 标准:PSR-1、PSR-3、PSR-4、PSR-6、PSR-7、PSR-11、PSR-12、PSR-14、PSR-15、PSR-17 和 PSR-18。
软件包安装
-
通过 Composer
composer require ar2labs/wiring
如果没有安装 composer
快速启动项目
-
创建启动项目
composer create-project ar2labs/wiring-start
-
切换到创建的目录
cd wiring-start/ -
创建
.envcp .env.example .env
-
启动 PHP 内置 web 服务器
php maker serve
或使用 php 运行
php -S 127.0.0.1:8000 -t public/
-
在浏览器中打开
http://127.0.0.1:8000
需求
此版本支持以下版本的 PHP。
- PHP 7.2
- PHP 7.3
- PHP 7.4
PHP 扩展需求
- CMath
- Ctype
- JSON
- Mbstring
- OpenSSL
- PDO
- Tokenizer
- XML
文档
为此文档做出贡献。 ;)
版权和许可
代码和文档版权(c)2020,代码在 BSD-3-Clause 许可证 下发布。