https://github.com/odan/php-dev-box
PHP Dev Box
https://github.com/odan/php-dev-box
apache mysql php powershell windows xampp xampp-windows xdebug
Last synced: 5 months ago
JSON representation
PHP Dev Box
- Host: GitHub
- URL: https://github.com/odan/php-dev-box
- Owner: odan
- License: mit
- Created: 2025-03-15T17:09:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-31T21:55:47.000Z (10 months ago)
- Last Synced: 2025-06-01T09:07:46.363Z (10 months ago)
- Topics: apache, mysql, php, powershell, windows, xampp, xampp-windows, xdebug
- Language: PowerShell
- Homepage:
- Size: 309 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Dev Box

A lightweight, developer-friendly local server stack featuring **PHP**, **Apache**, and **MySQL** β designed for fast, simple local development without the bloat of traditional stacks.
## Features
- β
Easy to install and run
- π§ Includes PHP, Apache and MySQL
- π¦ All-in-one local development environment
- π Simple status UI
- π» Designed for developers building PHP applications
## What's inside
| Component | Version | Notes |
|-----------|---------|----------------------------|
| PHP | 8.4.5 | |
| Apache | 2.4.63 | |
| MySQL | 8.4.4 | |
## But why?
Since [XAMPP](https://www.apachefriends.org/) isnβt actively developed anymore, I went ahead and created this package to help you install and manage Apache, PHP (with XDebug) and MySQL on Windows.
## Installation
### Windows
1. **Clone or download** this repository to `c:\xampp`.
2. **Open PowerShell as administrator** (important to ensure everything installs smoothly).
3. **Run** `.\devbox-setup.ps1` to install Apache, PHP, MySQL.
- The script will handle the downloading and configuring of these components for you.
4. **Follow any on-screen prompts** and let the script do its magic.
5. Run: `devbox.exe` to start the services.
### macOS & Linux
> Support for Unix-based systems is not planned.
# Usage
Start the local server with one click (GUI) or via terminal:
```
c:\xampp\devbox.exe
```
Once the Apache webserver is running, open your preferred browser and navigate to:
The default document root (where you place your PHP files) is:
`c:\xampp\htdocs`
## Limitations
* The server currently listens on port 80.
Changing the HTTP port is not supported at this time.
* HTTPS is not supported in this version. All traffic runs over plain HTTP.
SSL/TLS support may be added in a future release.
## Security
This tool is designed for **local development only**. Never expose it to a public network.
## Screenshot

## Contributing
Pull requests are welcome! If you have ideas or issues, please open an issue.
## License
This project is licensed under the [MIT License](https://opensource.org/license/mit).