arrowphp/arrow

A simple convention based framework built on league packages, encouraging a modular development structure.

v0.1.20190206 2019-02-06 13:11 UTC

README

Software License Build Status Latest Version on Packagist Total Downloads

Introducing Arrow! The no fuss framework built on the components of a highly respected collection of moderated components held to a high standard.

The name and it’s purpose comes from the php arrow "->".

It has been developed with the Event, Router and Container components from The PHP League at it’s heart. It also comes with Middleware support, allowing you to hook into the system to add your own required functionality where required.

Pre-Release - NOTES / TODO

  1. Review all code to ensure return type consistency
  2. Updtes tests
    • Add hints to indicate files to skip in code coverage
  3. Investigate/Implmenent PHAN!
  4. Split out build
    • Init setup skeleton project

Install

Via Composer

Via project composer.json

  "require": {
    "arrowphp/arrow": "@dev"
  }

Usage

Example index.php file (using Guzzle for Psr7)

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

$app = new \Arrow\Application();

$request = \GuzzleHttp\Psr7\ServerRequest::fromGlobals();
$response = new \GuzzleHttp\Psr7\Response();

$response = $app->run($request, $response);
$app->flush($response);
$app->terminate();

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer run-ci

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please contact Chris Pennycuick directly instead of using the issue tracker.

Credits

License

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