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"  
        }  
    }
}

*****复制粘贴完,将注释删除

猜你喜欢

转载自blog.csdn.net/qq_42033352/article/details/81141190