Skip to content

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

License

Notifications You must be signed in to change notification settings

Pinatra/Pinatra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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