Skip to content

Rayiumir/php-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

git clone https://github.com/Rayiumir/php-server.git
cd php-server/

Start the Server

# 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:

http://localhost:8000

Server Output

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
1-2025-08-06_02.31.46.mp4

About

A simple PHP development server like Laravel's artisan serve for vanilla PHP projects

Topics

Resources

License

Stars

Watchers

Forks