laravel/valet
Laravel Valet is a lightweight macOS development environment for Laravel and PHP. It runs Nginx automatically, uses DnsMasq to route *.test domains to local sites, avoids Vagrant and /etc/hosts edits, and can share sites via tunnels.
dnsmasq, launchd), which may introduce constraints for cross-platform teams or non-Mac developers.php artisan valet link + *.test domains). Compatible with Laravel’s service providers, queues, and caching (e.g., Redis, Memcached).valet secure or proxy rules.telescope:link). Poor fit for Node.js/JS-heavy stacks.sudo for initial setup and may conflict with existing macOS services (e.g., Apache, Docker). Risk of breaking local dev environments if misconfigured.*.test conflicts with local networks). Public sharing via valet share may expose dev environments unintentionally.php@7.4, php@8.0, etc., but lacks granular control over extensions or runtime tuning (e.g., opcache).*.test domains) be managed across machines?valet share) allowed, or do they violate internal security guidelines?pdo_pgsql, imagick) or runtime flags (e.g., memory_limit)?laradock).valet install, valet link, and domain routing.valet secure (HTTPS) and valet share (public access) to validate security/compliance.homestead or manual nginx setups for new Laravel projects.composer scripts or custom CLI tools.laradock) or document manual Nginx/PHP-FPM setups.valet commands (e.g., valet use php@8.2, valet park).env files, .htaccess (via Nginx rewrite rules), and public/ directory structure.Nginx/PHP-FPM configs).Laravel Sail, Postgres.app, MySQL CLI).hosts files or custom Nginx setups for conflicts.brew install laravel/valet/valet and valet install.valet use php@8.1).cd /path/to/project && valet link).valet secure project.test).valet commands for common tasks (e.g., valet restart, valet logs).valet-init script to automate setup for new hires.*.test resolution) via valet tinker or dnsmasq logs.brew uninstall valet && valet install).valet commands into CI/CD pipelines for local environment validation (e.g., php artisan test in Valet).*.test domains may clash with local networks or VPNs. Solution: Use valet trust or custom domains.valet php and php-fpm.conf.chmod -R 755 storage/bootstrap/cache.laradock) or manual Nginx setups.valet-dns or valet-php.*.test domains (e.g., project1.test, project2.test).valet-bootstrap repo with pre-configured PHP/Nginx templates.valet share cautiously; document public exposure risks.valet park + custom Nginx configs.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| macOS update breaks Valet | Local dev environments fail | Test Valet on new macOS versions early. |
dnsmasq misconfiguration |
*.test domains resolve incorrectly |
Use valet tinker to debug DNS. |
| PHP-FPM crashes | Laravel apps return 502 errors | Restart Valet (valet restart) or use valet use php@7.4. |
| Public sharing leaks data | Unauthorized access to dev sites | Disable valet share or use VPNs. |
| Team member uses Windows/Linux | Inconsistent local environments | Provide Docker alternatives. |
valet install, valet link, and valet secure.How can I help you explore Laravel packages today?