Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

phapi/phapi-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phapi

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.

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published