A simple PHP development server like Laravel's artisan serve for vanilla PHP projects
- Instant Setup - No need for XAMPP or WAMP
- Simple & Lightweight - Just one small file
- Configurable - Choose your preferred port
- Full Support - PHP, CSS, JS, images, and more
- Cross-Platform - Windows, Mac, Linux
- Fast & Reliable - Built-in PHP server powered
git clone https://github.com/Rayiumir/php-server.git
cd php-server/
# Simple run on port 8000
php run server
# Run on custom port
php run server 8080
php run server 3000
Open your browser and go to the displayed address:
http://localhost:8000
PHP Development Server
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Project: php-serve
Path: /home/.../www/test/php-serve
PHP: 8.3.6
━
Server is ready!
Go to http://localhost:8000 to view the project
Press Ctrl+C to stop
[Wed Aug 6 02:16:51 2025] PHP 8.3.6 Development Server (http://localhost:8000) started