### Updating Valet Configuration Files to .valetrc Syntax Source: https://github.com/laravel/valet/blob/master/UPGRADE.md This snippet illustrates the required syntax change for Valet project-specific PHP version configuration files. Users must rename `.valetphprc` to `.valetrc` and update the content to use the `php=` prefix for the PHP version. ```Valet Configuration # Old syntax (in .valetphprc) 8.2 # New syntax (in .valetrc) php=php@8.2 ``` -------------------------------- ### Valet Custom Driver V4 Compatibility Requirements Source: https://github.com/laravel/valet/blob/master/UPGRADE.md This API documentation outlines the necessary modifications for custom Valet drivers to ensure compatibility with Valet v4. Drivers must adhere to new type hints, extend namespaced base drivers, and define their own namespaces. ```APIDOC Valet Custom Driver Requirements (v4): - Base ValetDriver Type Hints: Custom drivers must match the new type hints defined in the base ValetDriver class. - Namespaced Inheritance: Drivers must extend the new namespaced base drivers, replacing old globally-namespaced drivers. - Driver Namespace: Each custom driver must define its own PHP namespace. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.