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 →
Run Large PlanetScale Queries in Laravel With DB::olap() image

Run Large PlanetScale Queries in Laravel With DB::olap()

Read article
Fluent Rule Builders for All Laravel Validation Rules image

Fluent Rule Builders for All Laravel Validation Rules

Read article
Laravel URL AI Transformer: Extract Structured Data From URLs image

Laravel URL AI Transformer: Extract Structured Data From URLs

Read article
Rule Builders for Every Validation Rule in Laravel 13.36 image

Rule Builders for Every Validation Rule in Laravel 13.36

Read article
PHP News: A New Site for PHP Releases, RFCs, and Packages image

PHP News: A New Site for PHP Releases, RFCs, and Packages

Read article
Pause Polling in Background Tabs in Inertia.js v3.9 image

Pause Polling in Background Tabs in Inertia.js v3.9

Read article