2 Star 9 Fork 3

Gitee 极速下载 / Pinatra

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/Pinatra/Pinatra
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

GitHub version code-coverage php-version License


Pinatra is a PHP copy of Sinatra: a DSL for quickly creating web applications in PHP with minimal effort.

Pinatra is still under the initial development.


Example

install

composer require pinatra/framework=~0.0

run your own application!

require __DIR__.'/../vendor/autoload.php';

get('/', function() {
  echo "I am Pinatra framework!";
});

Documentation

read the documentation

中文文档

Request processing flow

Request processing flow

Benchmark

Hello World

benchmark

Simple api with MySQL

benchmark

Developing Logs

  • 2018-09-11 100% code-coverage done
  • 2018-09-08 Eloquent model done
  • 2018-09-06 new router is fine
  • 2018-09-04 amazing new router is done
  • 2018-09-04 view is done
  • 2018-09-03 routing is done
  • 2018-08-31 first composer package released

License

The Pinatra framework is open-sourced software licensed under the MIT license

Comments ( 0 )

Sign in for post a comment

About

Pinatra 是 PHP 版本的 Sinatra,极其轻量优雅的 Web 领域专用语言(框架),是一个用于以最少的工作量在 PHP 中快速创建 Web 应用程序的 DSL(领域专 spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
PHP
1
https://gitee.com/mirrors/Pinatra.git
git@gitee.com:mirrors/Pinatra.git
mirrors
Pinatra
Pinatra
master

Search