Giter Club home page Giter Club logo

nonomal / phpwebstudy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xpf0000/phpwebstudy

0.0 0.0 0.0 965.58 MB

mac上的PHP和web开发环境管理工具,包含php,nginx,apache,msyql,memcached,redis以及host管理, 支持多版本一键切换, 本地自签名ssl证书, 方便开发调试. https://www.macphpstudy.com https://www.phpwebstudy.cn

Home Page: https://www.phpwebstudy.cn

License: BSD 3-Clause "New" or "Revised" License

Shell 1.82% JavaScript 28.91% TypeScript 14.58% HTML 0.09% Vue 48.53% SCSS 6.07%

phpwebstudy's Introduction

PhpWebStudy

App Icon

Php and Web development environment manage tool for MacOS system

GitHub release Total Downloads

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:

https://www.macphpstudy.com

Documentation

https://www.phpwebstudy.com

Documentation

特性

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

💽 安装稳定版

  1. GitHub 提供了已经编译好的稳定版安装包

最新版intel和Apple M安装包已经分开了, 带arm64的适用于Apple M, 不带的适用于intel, 注意不要下错了

  1. 使用brew安装
brew install phpwebstudy
  1. 当然你也可以自己克隆代码编译打包。

🖥 应用界面

01.png 02.png 03.png 04.png 05.png 08.png 07.png

⌨️ 本地开发

克隆代码

git clone [email protected]: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版本

brew自身库并不支持太老的PHP版本, 所以想要使用较老的PHP版本, 需要使用brew的第三方库 例如:

shivammathur/php

phpbrew/phpbrew

本应用使用的是shivammathur/php, 默认会自动添加shivammathur/php库到brew中, 但是因为'网络问题', 可能会添加失败, 用户可以自行添加, 添加命令:

brew tap shivammathur/php

PHP扩展

当前一键安装包括: ionCube memcache memcached redis swoole xdebug ssh2 pdo_sqlsrv imagick mongodb yaf

未添加到一键安装里的 使用如下方法安装 替换成自己的PHP版本

cd 扩展目录
/usr/local/Cellar/[email protected]/7.2.34/bin/phpize
./configure --with-php-config=/usr/local/Cellar/[email protected]/7.2.34/bin/php-config
make
make install

🛠 技术栈

问题反馈及建议

提Issues, 或者扫码加QQ群

QQqun.png

📜 开源许可

BSD 3-Clause License

Copyright (c) 2023, 徐鹏飞

phpwebstudy's People

Contributors

xpf0000 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.