https://github.com/rayiumir/php-server
A simple PHP development server like Laravel's artisan serve for vanilla PHP projects
https://github.com/rayiumir/php-server
command-line development localhost php serve server simple web-development
Last synced: 10 months ago
JSON representation
A simple PHP development server like Laravel's artisan serve for vanilla PHP projects
- Host: GitHub
- URL: https://github.com/rayiumir/php-server
- Owner: Rayiumir
- License: mit
- Created: 2025-08-05T21:59:40.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-05T23:08:37.000Z (10 months ago)
- Last Synced: 2025-08-06T00:12:17.083Z (10 months ago)
- Topics: command-line, development, localhost, php, serve, server, simple, web-development
- Language: Hack
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Run Server
A simple PHP development server like Laravel's artisan serve for vanilla PHP projects
# Features
- 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
# Installation
```bash
git clone https://github.com/Rayiumir/php-server.git
cd php-server/
```
# Start the Server
```bash
# Simple run on port 8000
php run server
# Run on custom port
php run server 8080
php run server 3000
```
# View Results
Open your browser and go to the displayed address:
```bash
http://localhost:8000
```
# Server Output
```bash
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
```
https://github.com/user-attachments/assets/920cbf6c-3ee9-4765-bc26-e4cf023d3e6b