mac上的PHP和web开发环境管理工具,包含php,nginx,apache,msyql,memcached,redis以及host管理,

mac上的PHP和web开发环境管理工具,包含php,nginx,apache,msyql,memcached,redis以及host管理,

Property
Jun 25, 2022 01:38 AM
Status
Date
notion image

PhpWebStudy

notion image

Mac上的PHP&Web开发环境管理工具

notion image
notion image
PhpWebStudy 是一款mac上的PHP和web开发环境管理工具,包含php,nginx,apache,msyql,memcached,redis以及host管理
访问网站查看详细介绍以及使用教程: https://www.macphpstudy.com

特性

notion image
  • 简洁明了的图形操作界面
  • 版本切换 根据开发需要 选择对应的版本进行开发调试
  • 各软件自定义配置
  • 日志文件即时查看
  • host管理
  • 常见PHP项目url rewrite一键设置
  • 一键切换brew国内源, 解决brew安装更新慢的问题
  • 一键生成SSL自签名证书
  • 开发中常用的小工具, 时间戳转换, 编码/解码, 端口占用一键清理

安装稳定版

notion image
  1. 使用brew安装
brew install phpwebstudy
    1. GitHub 提供了已经编译好的稳定版安装包
    1. 当然你也可以自己克隆代码编译打包。

应用界面

notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image
notion image

本地开发

notion image

克隆代码

git clone git@github.com:xpf0000/PhpWebStudy.git

安装依赖

cd PhpWebStudy
yarn install
天朝大陆用户建议使用淘宝的 npm 源
npm config set registry 'https://registry.npm.taobao.org'
export ELECTRON_MIRROR='https://npm.taobao.org/mirrors/electron/'
export SASS_BINARY_SITE='https://npm.taobao.org/mirrors/node-sass'

开发模式

yarn run dev

编译打包

yarn run build
完成之后可以在项目的 release 目录看到编译打包好的应用文件

PHP扩展

当前一键安装包括: ionCube memcache memcached redis swoole xdebug
未添加到一键安装里的 使用如下方法安装 替换成自己的PHP版本
cd 扩展目录
/usr/local/Cellar/php@7.2.34/7.2.34/bin/phpize
./configure --with-php-config=/usr/local/Cellar/php@7.2.34/7.2.34/bin/php-config
make
make install

技术栈

notion image

问题反馈及建议

提Issues, 或者扫码加QQ群
notion image

开源许可

notion image
基于 MIT license 许可进行开源。