cuongnd88 / atom
2.1
2021-04-28 07:37 UTC
Requires
- php: ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.1
This package is auto-updated.
Last update: 2024-09-28 15:29:02 UTC
README
Atom 是一个简单的 PHP 框架,实现了 MVC 模式。请阅读更多关于 Atom 请求生命周期
配置
composer require cuongnd88/atom
用法
单点入口
index.php
require __DIR__ . '/../vendor/autoload.php'; use Atom\Http\Server; try { $server = new Server(['env']); $server->handle(); } catch (Exception $e) { echo $e->getMessage(); }
例如,要了解实现和用法,请查看使用 Atom 框架开发的 EzyCrazy 项目 https://github.com/cuongnd88/ezycrazy