composer require "matyhtf/swoole_framework"

运行以上命令

Using version ^1.20 for matyhtf/swoole_framework
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 6 installs, 0 updates, 0 removals
- Installing psr/log (1.0.2): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing symfony/debug (v4.0.6): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing symfony/polyfill-mbstring (v1.7.0): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing symfony/console (v3.4.6): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing filp/whoops (2.1.14): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing matyhtf/swoole_framework (1.20.5): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/lock ()
symfony/console suggests installing symfony/process ()
filp/whoops suggests installing symfony/var-dumper (Pretty print complex values better with var-dumper available)
filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
Writing lock file
Generating autoload files

ok 完成

查看:

[root@VM_27_0_centos swooletest]# ls
composer.json composer.lock http_server.php server.php timer_tick.php udp_server.php vendor ws_server.php

可以看到 vendor 文件夹 至于为什么不直接看到 swoole_framework 框架 可以查看有关composer文档

[root@VM_27_0_centos swooletest]# tree -L 3
.
|-- composer.json
|-- composer.lock
|-- http_server.php
|-- server.php
|-- timer_tick.php
|-- udp_server.php
|-- vendor
| |-- autoload.php
| |-- composer
| | |-- autoload_classmap.php
| | |-- autoload_files.php
| | |-- autoload_namespaces.php
| | |-- autoload_psr4.php
| | |-- autoload_real.php
| | |-- autoload_static.php
| | |-- ClassLoader.php
| | |-- installed.json
| | `-- LICENSE
| |-- filp
| | `-- whoops
| |-- matyhtf
| | `-- swoole_framework
| |-- psr
| | `-- log
| `-- symfony
| |-- console
| |-- debug
| `-- polyfill-mbstring
`-- ws_server.php

OK 有了 咱们把这个移动到访问目录,在这里说一下 大家也可以直接去git 上下载zip 包 解压https://github.com/matyhtf/framework

最新文章

  1. php 时间加减
  2. eclipse中对项目进行分类管理
  3. JSON 字符串 与 java 对象的转换
  4. Sublime Text 3使用技巧
  5. oracle_dblink配置
  6. Spring MVC Controller配置方式
  7. Java8 map和reduce
  8. [linux] linux知识积累(不断更新中…)
  9. 王立平-NGUI
  10. ABP文档 - 对象与对象之间的映射
  11. mustache.js 使用
  12. 关于servelt的相关介绍
  13. java mongodb连接配置实践——生产环境最优
  14. Mybatis(二) 全局配置文件详解
  15. java.util.HashSet, java.util.LinkedHashMap, java.util.IdentityHashMap 源码阅读 (JDK 1.8.0_111)
  16. [Android实例] Activity实例StartActivity出现NullPointer异常
  17. Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(2)
  18. 关于Unity中的本地存储
  19. 在Foreda8中整合Apche httpd2.4.6和Tomcat7.0.42(使用tomcat-connectors-1.2.37)
  20. Eclipse中修改git地址、用户、密码

热门文章

  1. 聊聊rocketmq的ConsumeMode.CONCURRENTLY
  2. Windows10 Faster R-CNN(GPU版) 配置训练自己的模型
  3. SpringBoot-设置定时任务
  4. OI歌曲汇总
  5. WinDbg常用命令系列---|(进程状态)
  6. 通过HttpServletRequest重写+filter 添加header
  7. Cocos Creator打包发布
  8. GoCN每日新闻(2019-10-19)
  9. 【0521模拟赛】小Z爱划水
  10. #C++初学记录(typedef和define)