The full profile installs the PHP runtime used by local Symfony projects:
phpfor the Homebrew-managed PHP runtime;composerfor PHP dependencies;symfony-cli/tap/symfony-clifor Symfony local tooling.
Project dependencies, quality tools, and test tools should live in each
project's composer.json. This repository installs the shared runtime only.
Install the full profile:
mac setup --profile fullOr install the tools directly:
brew install php composer
brew install symfony-cli/tap/symfony-cliCheck the runtime:
php --version
php --ini
composer --version
symfony versionThe mac php helper also checks the local Xdebug state without requiring you to
inspect PHP configuration files manually:
Check that Composer can inspect the local platform:
composer check-platform-reqsRun the Symfony local server from a project directory:
symfony serveStop local Symfony services when finished:
symfony server:stopKeep these decisions inside each PHP project:
- framework version;
- Composer dependencies;
- test runner;
- static analysis level;
- coding standard;
- Rector rules;
- Xdebug and PCOV activation.
Use repository-level Homebrew only for tools that must exist before a project is cloned or bootstrapped.
Use the focused guides for project-level decisions:
- Xdebug for debugging and profiling;
- coverage for PCOV and coverage reports;
- static analysis for PHPStan;
- Pest for tests and Composer test scripts;
- coding standards for PHP-CS-Fixer and Rector;
- mutation testing for Infection.
Remove the shared runtime tools:
brew uninstall symfony-cli
brew uninstall composer phpProject dependencies remain in each project's vendor/ directory and lock file.

