News

Laravel Valet 2.0 is released

Published
Laravel Valet 2.0 is released image

Release updates

Never miss a Laravel release

Get an email whenever a new Laravel release lands.

Laravel Valet, the development environment for Mac minimalists, has just launched version 2.0 which includes bug fixes and it moved from Caddy to Nginx.

Upgrading To Valet 2.0

Upgrading to v2 is simple and can be completed in just a few steps. First, consider backing up your ~/.valet folder just so you have a backup. Next, stop and uninstall your original:

valet stop
valet uninstall

Finally, you should upgrade to the latest version of Valet. Depending on how you installed Valet, this is typically done through Git or Composer. If you installed Valet via Composer, you should use the following command to update to the latest major version:

composer global require laravel/valet

Once the fresh Valet source code has been downloaded, you should run the install command:

valet install
valet restart

After upgrading, it may be necessary to re-park or re-link your sites.

Valet Drivers

Since the Valet v1 release a few new drivers have been included and here is a list of all the drivers currently supported:

  • Basic
  • Bedrock
  • Cake
  • Concrete5
  • Contao
  • CraftCMS
  • Drupal
  • Jigsaw
  • Joomla
  • Katana
  • Kirby
  • Laravel
  • Sculpin
  • Statamic
  • Symfony

You can also create your own and the documentation outlines how to do it.

PHP 7.1

Currently, PHP 7.0 is the version included but work is being done to bring it up to the just released PHP 7.1. Expect that come in a future release.

Photo credit: Peter Saywell (CC BY-NC-SA 2.0)

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Lerd: A Free, Open Source Herd Alternative for Linux and macOS image

Lerd: A Free, Open Source Herd Alternative for Linux and macOS

Read article
Let's Encrypt HTTPS on an IP Address With FrankenPHP image

Let's Encrypt HTTPS on an IP Address With FrankenPHP

Read article
Laravel Chores: Resumable Data Operations and Cleanups image

Laravel Chores: Resumable Data Operations and Cleanups

Read article
NativePHP v4: Build Native iOS and Android UI in Blade image

NativePHP v4: Build Native iOS and Android UI in Blade

Read article
Laravel Lock: Distributed Locks for Models and Routes image

Laravel Lock: Distributed Locks for Models and Routes

Read article
Laravel Image Responses: Serve Resized Images From Routes image

Laravel Image Responses: Serve Resized Images From Routes

Read article