服务器环境(插件)搭建

て烟熏妆下的殇ゞ 提交于 2020-02-27 01:29:32

PHP开发工具:neteasecloudmusic,phpstorm,postman,rdm,navicat for mysql,iterm,google chrome,dingtalk,wechat,youdao

正式和测试区别开有:域名,数据库,代码仓库分支(正式master,测试dev).

主流环境(插件):最笨就用宝塔面板,安全考虑使用以下:

  1. Grafana接口监控 https://www.jianshu.com/p/3527f48165d7
  2. Jenkins代码部署
  3. Sentry日志查看
  4. GitLab代码仓库
  5. Jumpserver堡垒机:在线文件管理,命令执行
  6. sql审计平台
  7. 接口文档:swagger,CMIT
  8. 石墨在线办公文档
  9. 项目分工流程:禅道,钉钉蚂蚁分工,worktile
  10. 产品原型图,UI:蓝湖

PHP常用插件包:composter

https://packagist.org/

https://www.phpcomposer.com/

  1. topthink/framework     ThinkPHP 核心框架库
  2. rmccue/requests         用PHP编写的HTTP库
  3. predis/predis                Redis-Predis 扩展
  4. lcobucci/jwt                 JWT 创建 Token
  5. phpmailer/phpmailer  实现PHP发邮件功能
  6. endroid/qr-code          PHP-生成二维码
  7. codeitnowin/barcode PHP-生成条形码
  8. aliyuncs/oss-sdk-php 阿里云对象存储OSS(文件图片上传)
  9. topthink/think-queue  队列
  10. yansongda/pay            最优雅的微信和支付宝支付包
  11. symfony/event-dispatcher 通过分派事件并侦听事件来相互通信
  12. sentry/sdk sentry        日志查看,快速的发现故障问题

composer.json

{
    "name": "topthink/think",
    "description": "the new thinkphp framework",
    "type": "project",
    "keywords": [
        "lottery",
        "owenzhang"
    ],
    "homepage": "https://phper.owenzhang.com/",
    "license": "Apache-2.0",
    "authors": [
        {
            "name": "Owen Zhang",
            "email": "owen@owenzhang.com"
        }
    ],
    "require": {
        "php": ">=5.6.0",
        "topthink/framework": "5.1.*",
        "rmccue/requests": "^1.7",
        "predis/predis": "^1.1",
        "lcobucci/jwt": "^3.2",
        "phpmailer/phpmailer": "^6.0",
        "endroid/qr-code": "2.5.1",
        "aliyuncs/oss-sdk-php": "^2.3",
        "topthink/think-queue": "^2.0",
        "yansongda/pay": "2.6.0",
        "symfony/event-dispatcher": "3.4.32",
        "sentry/sdk": "2.0.3"
    },
    "autoload": {
        "psr-4": {
            "app\\": "application"
        }
    },
    "extra": {
        "think-path": "thinkphp"
    },
    "config": {
        "preferred-install": "dist"
    }
}

 

Buy me a cup of coffee :)

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!