# envmgr **Repository Path**: haoyundada_soft/envmgr ## Basic Information - **Project Name**: envmgr - **Description**: envmgr,是一套MAC PHP环境部署,类似MAMP之类的软件,免费试用7天,喜欢的朋友可购买授权,有问题可去www.haoyundada.com联系客服 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: https://www.haoyundada.com - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-09-17 - **Last Updated**: 2026-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HYDD Environment Manager (好运哒哒环境管理) > A ready-to-run local web development environment manager for macOS — MySQL / Redis / Nginx / multi-version PHP, one-click start & stop, full graphical management, no command line required. [![macOS](https://img.shields.io/badge/platform-macOS%20Intel%20%7C%20Apple%20Silicon-black)](#system-requirements) [![Python](https://img.shields.io/badge/backend-Python%20stdlib-blue)](#technical-highlights) [![license](https://img.shields.io/badge/license-Proprietary-orange)](#license) ![Dashboard](docs/screenshot-overview.png)
Site management Database management
## Introduction **HYDD Environment Manager** is a macOS local development environment manager distributed as a single self-contained `.app`. The entire runtime stack — MySQL, Redis, Nginx and PHP — is bundled inside the app and managed through a Chinese-language, BaoTa-style web panel. Copy it to any Mac and it just runs: **no dependencies need to be installed on the target machine**. It is a great fit for locally developing WordPress / Typecho sites, and works just as well as a general-purpose local PHP + MySQL environment. ## Features **Service management** - MySQL 8.0 / 5.7 dual versions with free switching, one-click start/stop, automatic initialization of fresh data directories - Redis (bundled, self-compiled binary) with 16 databases that can be assigned per site - Nginx (self-compiled with OpenSSL 3 / HTTP2), shared multi-site instance with rewrite templates - PHP 5.4 – 8.4 (7 versions) selectable per site; extensions compiled & installed online via PECL; php.ini edited in-browser (auto backup before change, validation after) **Site hosting** - Two hosting modes: PHP built-in server (lightweight debugging) / Nginx + PHP-CGI (production-like) - Per-site PHP version, port, rewrite rules, and SSL certificate info - Built-in tools site: phpMyAdmin 5 / Adminer / phpLiteAdmin one click away **Databases** - Create / drop databases, change passwords, grant privileges; backup / restore / import / export (SQL files) **Operations** - Centralized log viewer (service logs + panel audit trail) - System resource monitoring (CPU / memory / disk / port usage, kill process from the panel) - Update system: check for updates online, automatically download & install upgrade packages in the background (manual upload also supported), with automatic backup before install and in-place restart after **Security by design** - The panel listens on `127.0.0.1` only — unreachable from external networks - Every risky operation (config changes / extension installs / upgrades) is backed up, validated, and rolled back on failure ## Bundled Components | Component | Version | Notes | |---|---|---| | MySQL | 8.0 / 5.7 | Switchable, isolated data directories | | Redis | 8.x | Self-compiled, password protected | | Nginx | 1.30.x | Self-compiled with OpenSSL 3.x | | PHP | 5.4 / 5.6 / 7.3 / 7.4 / 8.1 / 8.2 / 8.4 | Common extensions included, more installable online | | phpMyAdmin | 5.x | Bundled tools site | ## Quick Start 1. **Download**: Grab `好运哒哒环境管理.app` from the [Releases page](https://gitee.com/haoyundada/env-manager/releases) (placeholder — replace with your actual repo URL) 2. **Install**: Drag the app into "Applications" or any folder (if Gatekeeper blocks the first launch, right-click → Open) 3. **Launch**: Double-click the app; once the menu-bar icon appears, the panel opens automatically at `http://127.0.0.1:8282` 4. **Create a site**: Go to the "Sites" page, create a site, pick a PHP version, drop your code into the site root — done > The first launch initializes the MySQL data directory (a dozen seconds or so); every launch after that is ready within 10 seconds. ## Licensing - **7-day free trial** with all features unlocked on first use - After the trial, purchase a license: monthly / yearly / lifetime, with renewal and paid upgrades supported - Licenses are bound to the machine code; activate via "Settings → License" (online purchase or license key) - License server: `pay.haoyundada.com` ## System Requirements | Item | Requirement | |---|---| | OS | macOS 10.13+ | | Architecture | Intel native; Apple Silicon (M-series) requires Rosetta 2 (`softwareupdate --install-rosetta`) | | Disk | ≥ 3.5 GB (the app itself is about 2.8 GB) | | Ports | 8282 (panel), 3307 (MySQL), 6379 (Redis), etc.; conflicts are checked at startup | ## FAQ
Double-clicking the app does nothing / the panel won't open? Gatekeeper blocks unsigned apps on first launch: right-click the app → "Open" → "Open" again. If macOS reports the file as damaged, run: `xattr -cr /Applications/好运哒哒环境管理.app`
Does it work on Apple Silicon (M1/M2/M3/M4)? Yes. The bundled runtime is Intel-based; just install Rosetta 2 first: `softwareupdate --install-rosetta --agree-to-license`
MySQL / Redis fails to start — port already in use? Another MySQL / Redis is probably running locally (e.g. installed via Homebrew). Stop the old service first, or check the port usage on the panel's Overview page and kill the process.
Where is my data stored? Will it touch my existing system environment? All runtimes and data live inside the app bundle (`Contents/Resources/project/`), fully isolated from your system. Deleting the app removes everything — no leftovers.
How do I upgrade to a newer version? Use "Check for Updates" in the panel: with auto-update enabled on the server side it downloads and installs in one click; in manual mode, download the upgrade package and upload it in the panel. Upgrades only replace panel code — your sites and databases are untouched, and everything is backed up before install.
## Technical Highlights - Backend implemented with the **Python 3 standard library only** (no Flask / Django), shipped with its own embedded Python runtime - Frontend built with **Tailwind CSS v4**, dark theme, hash-routed SPA, fully localized assets (works offline) - All service binaries are relocated (`@loader_path` + re-signing), so the whole bundle is portable ## License This is proprietary software. Copyright of the program (including the bundled runtimes) belongs to **Haoyundada (好运哒哒)**. Redistribution, reverse engineering, or commercial resale without authorization is prohibited. - Website / Licensing: - Issues: [Issues](https://gitee.com/haoyundada/env-manager/issues) (placeholder) or contact support --- If you find this tool useful, a ⭐ Star would be much appreciated!