Crazy lens

MinPHP 框架学习笔记
手册 MixPHP V2.1开发指南 MixPHP 环境要求Linux, OS X, WSL PHP >= ...
扫描右侧二维码阅读全文
04
2020/04

MinPHP 框架学习笔记

手册 MixPHP V2.1开发指南

MixPHP 环境要求

Linux, OS X, WSL
PHP >= 7.2
Swoole >= 4.4.4 (websocket >= 4.4.8)

我先在本地弄个docker环境

git clone https://github.com/libenfu/docker-example.git下载zip

按照 https://www.libenfu.com/index.php/archives/427/ 教程搭建docker 环境.
当然自己修改下 docker-compose.yml 进入 cd 2.lnmp-example mixphp 代码放到 swoole/code 目录 运行 composer

// 忽略扩展检查安装
composer create-project --prefer-dist --ignore-platform-reqs  mix/mix-skeleton mix 2.1.*

Content-Length mismatch, received 1101147 bytes out of the expected 1486921
http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Installing mix/mix-skeleton (v2.1.15)
  - Installing mix/mix-skeleton (v2.1.15): Downloading (100%)         
Created project in mix
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 40 installs, 0 updates, 0 removals
  - Installing hassankhan/config (v2.1.0): Downloading (100%)         
  - Installing swoole/ide-helper (dev-master fceaf61): Downloading (100%)         
  - Installing psr/container (1.0.0): Downloading (100%)         
  - Installing php-di/phpdoc-reader (2.1.1): Downloading (100%)         
  - Installing mix/bean (v2.1.15): Downloading (100%)         
  - Installing mix/concurrent (v2.1.15): Downloading (100%)         
  - Installing psr/log (1.1.3): Downloading (100%)         
  - Installing mix/log (v2.1.15): Downloading (100%)         
  - Installing psr/http-message (1.0.1): Downloading (100%)         
  - Installing mix/validate (v2.1.15): Downloading (100%)         
  - Installing psr/event-dispatcher (1.0.0): Downloading (100%)         
  - Installing mix/event (v2.1.15): Downloading (100%)         
  - Installing mix/pool (v2.1.15): Downloading (100%)         
  - Installing mix/database (v2.1.16): Downloading (100%)         
  - Installing mix/redis-subscribe (v2.1.15): Downloading (100%)         
  - Installing mix/redis (v2.1.15): Downloading (100%)         
  - Installing psr/simple-cache (1.0.1): Downloading (100%)         
  - Installing mix/cache (v2.1.15): Downloading (100%)         
  - Installing firebase/php-jwt (v5.2.0): Downloading (100%)         
  - Installing mix/auth (v2.1.15): Downloading (100%)         
  - Installing mix/helper (v2.1.15): Downloading (100%)         
  - Installing mix/session (v2.1.15): Downloading (100%)         
  - Installing psr/http-factory (1.0.1): Downloading (100%)         
  - Installing mix/http-message (v2.1.15): Downloading (100%)         
  - Installing mix/console (v2.1.15): Downloading (100%)         
  - Installing psr/http-server-handler (1.0.1): Downloading (100%)         
  - Installing psr/http-server-middleware (1.0.1): Downloading (100%)         
  - Installing mix/http-server (v2.1.15): Downloading (100%)         
  - Installing mix/route (v2.1.15): Downloading (100%)         
  - Installing mix/view (v2.1.15): Downloading (100%)         
  - Installing mix/websocket (v2.1.15): Downloading (100%)         
  - Installing mix/server (v2.1.15): Downloading (100%)         
  - Installing opis/closure (3.5.1): Downloading (100%)         
  - Installing mix/sync-invoke (v2.1.15): Downloading (100%)         
  - Installing symfony/polyfill-ctype (v1.15.0): Downloading (100%)         
  - Installing paragonie/random_compat (v9.99.99): Downloading (100%)         
  - Installing ramsey/uuid (3.9.3): Downloading (100%)         
  - Installing mix/micro (v2.1.15): Downloading (100%)         
  - Installing mix/json-rpc (v2.1.15): Downloading (100%)         
  - Installing symfony/dotenv (v4.4.7): Downloading (100%)         
hassankhan/config suggests installing symfony/yaml (~3.4)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
ramsey/uuid suggests installing paragonie/random-lib (Provides RandomLib for use with the RandomLibAdapter)
Writing lock file
Generating autoload files
最后修改:2020 年 04 月 05 日 02 : 40 AM
如果觉得我的文章对你有用,请随意赞赏

发表评论