Skip to content

Get a Symfony project running on any OS with a single command. Powered by Symfony CLI, Homebrew, and Make.

License

Notifications You must be signed in to change notification settings

llupa/symfony-dev-environments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Symfony Local Development Environments

Guides and templates for running Symfony applications locally across macOS, Linux, and Windows.

Overview

This repository helps development teams maintain consistency across different operating systems. By adding a Brewfile, Makefile, and docker-compose.yaml to your Symfony project, every team member can set up their local environment with:

make install  # Install PHP, Composer, Symfony CLI
make run      # Start Docker services and web server

Same commands. Same PHP version. Same services. Any OS.

What's Included

  • Brewfile template - Homebrew dependencies for PHP, Composer, and Symfony CLI
  • Makefile template - Common automation commands for installation and running your app
  • docker-compose.yaml template - Container services setup (PostgreSQL, RabbitMQ, etc.)
  • OS-specific guides - Step-by-step installation instructions for each platform

Choose Your Operating System

OS Guide Notes
macOS Installation Guide Uses Homebrew + Docker Desktop/Rancher Desktop
Ubuntu/Linux Installation Guide Uses Homebrew + Docker Engine
Windows 10/11 Installation Guide Uses WSL2 + Ubuntu + Docker

Templates

Ready-to-use templates to bootstrap your Symfony project:

Prerequisites

All platforms require:

Project Structure

your-symfony-project/
├── Brewfile              # Homebrew dependencies
├── Makefile              # Automation commands
├── docker-compose.yaml   # Container services (databases, cache, etc.)
├── composer.json         # PHP dependencies
└── ...

Recognitions

This guide is based on information gathered from colleagues across different platforms. Special thanks to:

Contributing

I can only personally verify the macOS setup, so contributions and troubleshooting help for Linux and Windows (WSL) are especially welcome.

Feel free to open issues or submit pull requests to improve these guides.

About

Get a Symfony project running on any OS with a single command. Powered by Symfony CLI, Homebrew, and Make.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published