composer global require "fxp/composer-asset-plugin:~1.1.1" git clone https://github.com/iiYii/getyii.git cd getyii composer install php init 上述执行完成后,使用php yii install生成数据表发生错误,发现没有项目中没有vender目录
那只能说明你执行 composer install 命令的时候有问题。
composer install
没有vender目录 缺少必要的文件。
如果你想寻找 PHP 的三方库,请上 https://packagist.org/ 或在 https://github.com 上面寻找。