phapi/phapi-framework

This package is abandoned and no longer maintained. No replacement package was suggested.

Phapi is a PHP based framework aiming at rapid and simplified API development as well as focusing at performance and keeping the code base small and simple.

Installs: 1 520

Dependents: 0

Suggesters: 0

Security: 0

Stars: 13

Watchers: 2

Forks: 0

Open Issues: 1

Type:framework

2.0.0 2015-07-03 08:31 UTC

This package is not auto-updated.

Last update: 2021-02-05 22:39:58 UTC


README

Phapi is a PHP based framework aiming at rapid and simplified API development as well as focusing at performance and keeping the code base small and simple.

What's new in version 2

This version is PSR-7 Http Message compliant and takes full advantage of that fact by relying on middleware for almost every aspect of the framework. Error handling, routing, responding to the client as well as many other functions are all in fact middleware.

There is an Dependency injection container that's mainly used for configuration. Each endpoint has access to both the container as well as the [https://github.com/phapi/http](request and response) objects.

Install with configuration (recommended)

The phapi/phapi-configuration project includes everything you need to set up a simple hello world example. Download the latest version of the package and extract it to an empty directory. This zip file includes all the default configuration. After you've extracted the zip file you need to run composer:

$ composer install

Installation via Composer

Install the Phapi framework via Packagist and Composer.

$ composer require phapi/phapi-framework:2.*

Configuration

See the documentation for more information about configuration options and how to add extra packages.

Documentation

The documentation can be found at http://phapi.github.io/.

License

Phapi is licensed under the MIT License - see the license.md file for details

Contribute

Contribution, bug fixes etc are always welcome.