description Laravel Valet Overview
Laravel Valet is a minimalist development environment for macOS tailored for PHP applications, including Laravel. Created by Taylor Otwell and Caleb Porzio, it operates by running Nginx as a background service alongside DnsMasq, allowing developers to serve local sites without the overhead of Vagrant or Docker. Valet automatically resolves domain names ending in `.test` to local sites defined on the machine. It is designed for PHP developers who want a fast, lightweight local configuration.
help Laravel Valet FAQ
How does Laravel Valet turn a project folder into a local website?
Valet uses DnsMasq and a background Nginx service to route local `*.test` domains to projects on a Mac. The `valet park` command serves directories inside a parent folder, while `valet link` registers one specific project.
Can Laravel Valet run WordPress or Symfony projects?
Yes. Valet includes drivers for Laravel, Symfony, WordPress, Drupal, Statamic, Craft CMS, and several other PHP applications, and custom drivers can support additional layouts.
What is the practical difference between Laravel Valet and Laravel Sail?
Valet runs PHP and Nginx directly through macOS and Homebrew, so it is lightweight but Mac-only. Sail uses Docker to provide a more isolated environment with services such as MySQL and Redis, making it closer to a complete application stack.
Can Laravel Valet provide HTTPS for a local project?
Yes. Running `valet secure` for a linked or parked site creates a trusted local TLS configuration, so a project can be opened through an `https://` address on its `.test` domain.
explore Explore More
Similar to Laravel Valet
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.