定制 phapi/phapi-framework 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phapi/phapi-framework

最新稳定版本:2.0.0

Composer 安装命令:

composer require phapi/phapi-framework

包简介

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.

README 文档

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.

统计信息

  • 总下载量: 1.52k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-20