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

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article