# Valet
[[PHP]] development environment using NGINX. It supports [[Laravel]], Zend Framework, ...
## Installation
See [[How to install Valet on Ubuntu]]
## Useful commands
- `valet park`: add directories to the valet path so that each folder can be accessed using `foldername.test`
- Reference: https://laravel.com/docs/11.x/valet#the-park-command
- `valet forget`: remove a directory from the valet path (undoes what `valet park` does)
- `valet link`: make folders individually accessible with `foldername.test`
- Reference: https://laravel.com/docs/11.x/valet#the-link-command
- `valet unlink`: reverse operation of `valet link`
- `valet use
[email protected]`: switch to another version of PHP
- `valet secure laravel`: serve using TLS
- `valet unsecure laravel`
- `valet status`
## Configuration
It's possible to create a `.valetrc` file at the root of the project.
To define the version of [[PHP]] to use, add `
[email protected]` to `.valetrc`.
## References
- https://laravel.com/docs/11.x/valet
## Related
- [[How to install Valet on Ubuntu]]