Skip to content

Files

Latest commit

3f60bc6 · Feb 15, 2025

History

History
137 lines (110 loc) · 4.38 KB

README.md

File metadata and controls

137 lines (110 loc) · 4.38 KB

PHP DevSuite

PHP DevSuite is an all-in-one Docker-based development suite for Laravel, WordPress, Magento, and more.
It provides a robust, scalable, and easy-to-use local development environment with pre-configured services.

Supported PHP Versions Supported Nginx Versions PHP Docker Pulls Nginx Docker Pulls Maintained - Yes MIT License

📌 Table of Contents

🚀 Quick Start

Clone the repository

git clone git@github.com:focela/php-devsuite.git
cd php-devsuite

Start the environment

./compose/bin/start

Access your application

🛠 Features

  • Pre-configured PHP & Nginx setup
  • Supports Laravel, WordPress, Magento, and more
  • Elasticsearch, OpenSearch, RabbitMQ support
  • Customizable environment with Docker Compose
  • Easy start, stop, and restart scripts
  • Works seamlessly on Linux, macOS, and Windows (WSL2)

📦 Services

Service Versions Available
PHP 8.1, 8.2, 8.3, 8.4
Nginx 1.18, 1.22, 1.24
Elasticsearch 7.16, 7.17, 8.4, 8.5, 8.7, 8.11, 8.13
OpenSearch 1.2, 2.5, 2.12
RabbitMQ 3.8, 3.9, 3.11, 3.12, 3.13

🔧 Setup

Install dependencies

Ensure you have Docker installed. If not, install it from Docker Official Site.

Run the project

./compose/bin/start

Stop the environment

./compose/bin/stop

📂 Directory Structure

.
├── CODE_OF_CONDUCT.md   # Community guidelines
├── CONTRIBUTING.md      # Contribution guidelines
├── LICENSE              # MIT License
├── compose/             # Docker Compose configuration & scripts
│   ├── bin/             # Utility scripts
│   │   ├── bash
│   │   ├── cli
│   │   ├── restart
│   │   ├── setup-ssl
│   │   ├── start
│   │   └── stop
│   ├── compose.yaml     # Main Docker Compose configuration
│   ├── docker/
│   │   └── nginx/       # Nginx configurations
│   │       ├── nginx.conf
│   │       └── sites-enabled/
│   │           └── default.conf
│   └── src/             # Sample PHP application
│       └── index.php
└── images/              # Custom Docker images
    ├── php/             # PHP images
    ├── nginx/           # Nginx images
    ├── elasticsearch/   # Elasticsearch versions
    ├── opensearch/      # OpenSearch versions
    ├── rabbitmq/        # RabbitMQ versions

⚙ Management

Restart all containers:

./compose/bin/restart

Stop the environment:

./compose/bin/stop

View logs:

docker-compose logs -f

🤝 Contributing

We welcome contributions! Please check:

📄 License

PHP DevSuite is licensed under the MIT License. See the LICENSE file for more details.

💬 Support

If you encounter any issues, please open an issue in the repository:
GitHub Issues