{"repo":"mohaphez/larasaur","free":true,"listed":false,"github":"https://github.com/mohaphez/larasaur","clone":"git clone https://github.com/mohaphez/larasaur.git","description":"A unified Docker development environment for Laravel projects that lets you run multiple projects from different directories with a single containerized setup - saving resources and simplifying workflow with CLI shortcuts.","language":"Shell","stars":58,"topics":["bash","docker","docker-compose","laravel","linux","nginx","php","redis"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Unified Docker Development Environment for Laravel Projects A flexible, efficient Docker-based development environment that allows you to run multiple Laravel projects from different directories under a single environment setup. ✨ Key Benefits Compared to Laravel Sail, Longhorn, Herd - One environment for all projects : Unlike Sail which requires setup per project, this solution serves all your Laravel projects from a single Docker environment - Directory structure flexibility : Works with projects in any location under your project root - Resource efficiency : Runs a single set of containers for all projects instead of duplicating services per project - Easy project switching : No need to restart containers when switching between projects - CLI shortcuts : Simple commands ( a , c , n ) for artisan, composer, and npm across any project - Configurable Nginx : Easy virtual host management with automatic site configuration - Complete stack : PHP-FPM, Nginx, MySQL, Redis, Mailhog and Node.js in one setup 🚀 Getting Started Installation 1. Clone this repository: 2. Start the environment: 3. Install the CLI shortcuts: - if you are on mac, make sure to run brew install coreutils Directory Structure Example 🛠️ Usage Adding a New Site Navigate to your Laravel project and run: This will: 1. Create an Nginx config for projectname.local 2. Add entry to your hosts file 3. If a custom port is specified: - Configure Nginx to listen on both port 80 and the custom port - Add the custom port ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mohaphez","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mohaphez/larasaur/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}