众所周知,在国内的PHP领域,thinkphp框架 占据着大半江山,既然我们聊composer,那么就从最权威的框架thinkphp这里着手开始讲!
我们通过命令来安装
composer create-project topthink/think tp
安装过程如下:
E:\code-thinkphp>composer create-project topthink/think tpInstalling topthink/think (v6.0.3) - Installing topthink/think (v6.0.3): Loading from cacheCreated project in tpLoading composer repositories with package informationUpdating dependencies (including require-dev)Package operations: 16 installs, 0 updates, 0 removals - Insta