PhpWebStudy is an open source, free personal project, created for PHP and Web engineers using MacOS systems for development, to provide a more simple and useful tool to manage the local server environment.
By integrating the tedious tasks such as start/restart commands for each software, configuration file viewing and modification, and log file checking into one software, developers can focus more on the real development work.
Visit the website for detailed descriptions and tutorials on how to use it:
最新版intel和Apple M安装包已经分开了, 带arm64的适用于Apple M, 不带的适用于intel, 注意不要下错了
brew install phpwebstudy
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
目录看到编译打包好的应用文件
brew自身库并不支持太老的PHP版本, 所以想要使用较老的PHP版本, 需要使用brew的第三方库 例如:
本应用使用的是shivammathur/php, 默认会自动添加shivammathur/php库到brew中, 但是因为'网络问题', 可能会添加失败, 用户可以自行添加, 添加命令:
brew tap shivammathur/php
当前一键安装包括: ionCube memcache memcached redis swoole xdebug ssh2 pdo_sqlsrv imagick mongodb yaf
未添加到一键安装里的 使用如下方法安装 替换成自己的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
提Issues, 或者扫码加QQ群
Copyright (c) 2023, 徐鹏飞
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。