Which one you choose will depend on your personal taste and your team's needs. Valet provides a blazing fast local development environment with minimal resource consumption, so it's great for developers who only require PHP / MySQL and do not need a fully virtualized development environment.īoth Valet and Homestead are great choices for configuring your Laravel development environment. This is easily achieved by using Homebrew with commands like brew install php and brew install mysql. Valet only supports Mac, and requires you to install PHP and a database server directly onto your local machine. Homestead is a wonderful choice if you want a fully virtualized Linux development environment or are on Windows / Linux. Homestead offers an entire Ubuntu virtual machine with automated Nginx configuration. Homestead and Valet differ in regards to their intended audience and their approach to local development. However, you may extend Valet with your own custom drivers.Īs you may know, Laravel offers Homestead, another local Laravel development environment. Out of the box, Valet support includes, but is not limited to: Valet isn't a complete replacement for Vagrant or Homestead, but provides a great alternative if you want flexible basics, prefer extreme speed, or are working on a machine with a limited amount of RAM. In other words, a blazing fast Laravel development environment that uses roughly 7 MB of RAM. Then, using DnsMasq, Valet proxies all requests on the *.test domain to point to sites installed on your local machine. Laravel Valet configures your Mac to always run Nginx in the background when your machine starts. You can even share your sites publicly using local tunnels. Valet is a Laravel development environment for Mac minimalists.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |