在 Linux Centos 7 中安装 swagger-php 和 Composer

Install swagger-php and Composer in Linux Centos 7

我正在寻找在 Linux Centos7 中安装 swagger-php 和 Composer 的步骤。

CentOS 7 只是另一个 linux 发行版,因此请按照所有 unix/linux 机器的一般安装步骤进行操作。

  1. 作曲家 Linux 安装:

https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos

  1. 将 composer 安装到您的 Centos7 机器后,请按照以下步骤操作:

http://zircote.com/swagger-php/Getting-started.html#installation