2017 © Pedro Peláez
 

library framework

A simple framework built with php league components

image

phpieces/framework

A simple framework built with php league components

  • Monday, July 18, 2016
  • by jclyons52
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

framework

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

A simple framework built with php league components, (*2)

Install

Via Composer, (*3)

``` bash $ composer require phpieces/framework, (*4)


## Usage ``` php require __DIR__ .'/../vendor/autoload.php'; $config = [ 'template_dir' => 'template/folder' ]; $app = new App($config); $app->get('/', function(ServerRequestInterface $request, ResponseInterface $response) { $response->getBody()->write($this->templates->render('home')); return $response; }); $app->run();

Change log

Please see CHANGELOG for more information what has changed recently., (*5)

Testing

bash $ composer test, (*6)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*7)

Security

If you discover any security related issues, please email jclyons52@gmail.com instead of using the issue tracker., (*8)

Credits

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions