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

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Find Unexpected Test Inputs with Fuzz for Pest image

Find Unexpected Test Inputs with Fuzz for Pest

Read article
Laravel Rulebook: Business Rules That Change by Date image

Laravel Rulebook: Business Rules That Change by Date

Read article
Taylor disabled GitHub Issues on most Laravel open-source packages. image

Taylor disabled GitHub Issues on most Laravel open-source packages.

Read article
Exclude Vendor and Default Commands in `php artisan dev` image

Exclude Vendor and Default Commands in `php artisan dev`

Read article
The Laracon Archive image

The Laracon Archive

Read article
Group Adjacent Collection Items in Laravel with chunkBy() image

Group Adjacent Collection Items in Laravel with chunkBy()

Read article