配置方式
依葫芦画瓢,如添加thinkPHP:
# Thinkphp Thinkphp 3.2=composer create-project topthink/thinkphp %s Thinkphp 5.0=composer create-project topthink/think %s 5.0.* --prefer-dist Thinkphp 5.1=composer create-project topthink/think %s 5.1.* --prefer-dist
常用的框架快速创建配置
# Options AutoCreateDatabase=true Cached=true # Blank: an empty project Blank= # WordPress WordPress=https://wordpress.org/latest.tar.gz # Joomla ### Joomla=https://github.com/joomla/joomla-cms/releases/download/3.8.11/Joomla_3.8.11-Stable-Full_Package.tar.gz # Prestashop ### Prestashop=https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.2/prestashop_1.7.4.2.zip ------------------------------------------------------ # Drupal Drupal 8=https://ftp.drupal.org/files/projects/drupal-8.5.5.tar.gz ### Drupal 7=https://ftp.drupal.org/files/projects/drupal-7.59.tar.gz ------------------------------------------------------ # Laravel #Laravel=composer create-project laravel/laravel %s --prefer-dist Laravel (zip)=https://github.com/leokhoa/quick-create-laravel/releases/download/5.6.21/laravel-5.6.21.7z ### Laravel dev-develop=composer create-project laravel/laravel %s dev-develop ### Laravel 4=composer create-project laravel/laravel %s 4.2 --prefer-dist ### Lumen=composer create-project laravel/lumen %s --prefer-dist Laravel 5.5=composer create-project laravel/laravel %s 5.5.* --prefer-dist Laravel 5.6=composer create-project laravel/laravel %s 5.6.* --prefer-dist Laravel 5.7=composer create-project laravel/laravel %s 5.7.* --prefer-dist ------------------------------------------------------ # CakePHP ### CakePHP=composer create-project --prefer-dist cakephp/app %s # Symfony 4 Symfony=composer create-project symfony/website-skeleton %s # Thinkphp Thinkphp 3.2=composer create-project topthink/thinkphp %s Thinkphp 5.0=composer create-project topthink/think %s 5.0.* --prefer-dist Thinkphp 5.1=composer create-project topthink/think %s 5.1.* --prefer-dist