49

GitHub - Pinatra/Pinatra: A PHP copy of Sinatra: a DSL for quickly creating web...

 5 years ago
source link: https://github.com/Pinatra/Pinatra
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Pinatra.jpg

68747470733a2f2f7472617669732d63692e6f72672f50696e617472612f50696e617472612e7376673f6272616e63683d6d6173746572 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=dev-master

run your own application!

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

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

Documentation

read the documentation

中文文档

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK