yidemir/app
Composer 安装命令:
composer require yidemir/app
包简介
DemirApp Minimal PHP Framework
README 文档
README
Introduction
Simple and minimal yet another PHP 7 Framework
Features
- Simple routing
- Simple container (Dependency Injection)
- Flash messages
- Simple JSON response
- Simple middleware system
- Resource routes
- Native PHP templating system
- and much more
Documentation is coming soon.
Türkçe dökümantasyona buradan ulaşabilirsiniz.
Installation
The recommended way to install is via Composer:
composer require yidemir/app
and start coding:
<?php use Demir\App; require 'vendor/autoload.php'; App::get('/', function(){ return App::render('home'); }); App::run();
Or download from relases page.
<?php use Demir\App; require 'src/App.php'; App::get('/', function(){ echo 'Hello world!'; }); App::run();
Test
composer test
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-08