pinatra / framework
Pinatra is a PHP verison of Sinatra: a DSL for quickly creating web applications in PHP with minimal effort.
Installs: 193
Dependents: 0
Suggesters: 0
Security: 0
Stars: 155
Watchers: 12
Forks: 13
Open Issues: 12
Requires
- php: >=7.0
- filp/whoops: *
- illuminate/database: *
Requires (Dev)
- phpunit/phpunit: ^6
This package is not auto-updated.
Last update: 2024-11-10 06:12:35 UTC
README
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
Benchmark
Hello World
Simple api with MySQL
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