Skip to content

Commit b8c6216

Browse files
committed
Bring back UPGRADE.md for now
1 parent 5faf4ee commit b8c6216

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

UPGRADE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Upgrading to v4
2+
3+
- You must have PHP 8.0+ installed, and set as your primary/linked PHP install when you install v4; you can use 7.4+ as your primary after that, but need to keep a version of 8+ installed at all times
4+
- You must run `valet` once for the upgrader to run; this will attempt to update all of your configuration items and custom local drivers for v4
5+
- If you have any issues with your drivers, all custom drivers (including the `SampleValetDriver` published by previous versions of Valet) must have the following; see the [new SampleValetDriver](https://github.com/laravel/valet/blob/d7787c025e60abc24a5195dc7d4c5c6f2d984339/cli/stubs/SampleValetDriver.php) for an example:
6+
- Match the new type hints of the base ValetDriver
7+
- Extend the new namespaced drivers instead of the old globally-namespaced drivers
8+
- Have their own namespace
9+
- If you have any `.valetphprc` files in your projects, update them to use the new `.valetrc` syntax:
10+
- Rename `.valetphprc` to `.valetrc`
11+
- Add `php=` before the version number; e.g. `[email protected]`
12+
- If you're using Expose and want to connect it to Valet, make sure to upgrade to v2.6.0 or higher

0 commit comments

Comments
 (0)