Skip to content

XAMP-CLI simplifies PHP web server management via the command line. Start, stop, check status, and view logs with ease. Enhance your local development environment effortlessly.

License

Notifications You must be signed in to change notification settings

adithyanmk/XAMP-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

XAMP-CLI

XAMP-CLI is a command-line tool to manage your local PHP development environment. It simplifies the management of a PHP web server using the command line. The script provides easy-to-use commands for starting, stopping, checking the status, and viewing logs of the server.

Installation

  1. Clone the repository:

    git clone https://github.com/adithyanmk/XAMP-CLI.git
    cd XAMP-CLI
  2. Make the script executable:

    chmod +x xamp.sh

Usage

  • Start server:

    ./xamp.sh start 0.0.0.0:5000
  • Stop server:

    ./xamp.sh stop 0.0.0.0:5000
  • Show logs:

    ./xamp.sh logs
  • Check server status:

    ./xamp.sh status 0.0.0.0:5000

Important Notes

  • Logs are saved in logs/server.log.
  • Make sure you have PHP installed on your system for this script to work.
  • The script should be executed in the same directory as the xamp.sh file.

Contributions

Contributions are welcome! If you find a bug or want to improve the script, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

XAMP-CLI simplifies PHP web server management via the command line. Start, stop, check status, and view logs with ease. Enhance your local development environment effortlessly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages