1. 程式人生 > >thinkphp常用的10個第三方類庫下載

thinkphp常用的10個第三方類庫下載

{
    "name": "topthink/think",      //專案名字
    "description": "the new thinkphp framework",    //專案簡介
    "type": "project",          //專案型別
    "keywords": [               //關鍵字
        "framework",
        "thinkphp",
        "ORM"
    ],
    "homepage": "http://thinkphp.cn/",          //主頁        
    "authors": [                       //作者
        {
            "name": "liu21st",
            "email": "

[email protected]"
        }
    ],
    "require": {
        "php": ">=5.4.0",                        //要求php版本
        "topthink/framework": "5.0.*",               //topthink/think-installer  tp5安裝
        "topthink/think-captcha":"1.*",              //topthink/think-captcha   驗證碼類庫
        "topthink/think-mongo": "1.*",               //topthink/think-mongo   mongoDB
        "topthink/think-migration": "1.*",           //topthink/think-migration   資料遷移
        "topthink/think-queue": "1.*",                //topthink/think-queue   訊息佇列依賴包
        "topthink/think-helper": "1.*",                //topthink/think-helper   輔助函式列表
        "phpmailer/phpmailer": "^6.0",              //phpmailer   整合郵件類
        "phpoffice/phpexcel": "^1.8",                //phpoffice/phpexcel   excel匯入匯出
        "aferrandini/phpqrcode": "^1.0",           //aferrandini/phpqrcode  生成二維碼
        "endroid/qrcode": "^1.9",                      //endroid/qrcode    thinkphp與二維碼生成
        "phpoffice/phpword": "^0.15.0",            //phpoffice/phpword    用於讀寫文書處理word文件
        "twig/twig":"*",                                       //twig/twig   twig模板引擎
        "filp/whoops":"*",                                   //filp/whoops  php錯誤除錯庫
        "symfony/var-dumper":"*",                    //symfony/var-dumper   除錯庫
        "catfan/medoo":"*",                               //catfan/medoo   輕量級的資料庫框架
        "sculpin/sculpin":"*"
    },
    "autoload": {
        "psr-4": {
            "app\\": "application"
        }
    },
    "extra": {
        "think-path": "thinkphp"
    },
    "config": {
        "preferred-install": "dist"
    },
    "repositories":{                  
        "packagist": {  
            "type": "composer",  
            "url": "https://packagist.phpcomposer.com"  
        }  
    }
}

*****複製貼上完,將註釋刪除