https://packagist.org/?q=phpmyadmin&p=0php
Github:筆記 https://github.com/13431/phplaravel
類庫包下載地址:packagist.orggit
1、先切換到 須要下載的那個文件目錄 而後輸入下載的命令 下載相應的包github
composer create-project fillup/phpmyadmin-minimalthinkphp
composer create-project json
下載並安裝app
將下載的源換爲國內的:composer
composer config -g repo.packagist composer https://packagist.phpcomposer.com
下載 phpMyAdmin:yii
composer create-project fillup/phpmyadmin-minimal composer create-project fillup/phpmyadmin-minimal --no-dev ## 不要下載跟開發相關的東西 composer create-project fillup/phpmyadmin-minimal phpmyadmin --no-dev ## 不要下載跟開發相關的東西
開始 ThinkPHP 項目:
composer create-project topthink/thinkphp:3.2.3 blog-tp3 --prefer-dist ## 若是加上prefer參數,能夠指定優先下載什麼樣的個數 composer create-project topthink/think blog-tp5 --prefer-dist
開始一個 Laravel 項目:
composer create-project laravel/laravel blog-laravel
開始一個 yii 項目:
composer create-project yiisoft/yii2-app-basic blog-yii --prefer-dist
第一種方法: a) 編輯 composer.json,在 require 節點上,添加 smarty,
{
而後執行 composer install 命令安裝依賴
|
第二種方法: // b) 直接在目錄下面執行 composer require smarty/smarty 便可。
|