Home  >  Article  >  php教程  >  Rest.Ler PHP API Server解决方案

Rest.Ler PHP API Server解决方案

WBOY
WBOYOriginal
2016-06-06 19:36:071110browse

https://github.com/Luracast/Restler 通过composer安装依赖后,整个vendor将近三十兆。这太不爽了。搞PHP的人如果没有洁癖的追求,跟搞Java的咸鱼有神码两样(注:就是找抽,抽我吧)。 仔细看了以后,发现里面有一些依赖的库不是必须的。 有用的有: * Ill

https://github.com/Luracast/Restler

通过composer安装依赖后,整个vendor将近三十兆。这太不爽了。搞PHP的人如果没有洁癖的追求,跟搞Java的咸鱼有神码两样(注:就是找抽,抽我吧)。

仔细看了以后,发现里面有一些依赖的库不是必须的。

有用的有:

  * Illuminate - 依赖的基础,也是Laravel的基础组件
  * Luracast - 核心
  * bshaffer/OAuth2-Server-php
  * Guzzle - Http Client 用于实现API Explorer
  * Twig -  API Explorer 模版渲染用

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn