├── README.md └── StaticValetDriver.php /README.md: -------------------------------------------------------------------------------- 1 | # Static Valet Driver 2 | 3 | Valet driver for serving static php files. By default, laravel valet will reroute all requests to the index.php file in the public folder. 4 | 5 | This driver will route all file requests to their appropriate files. 6 | 7 | To enable the drive, simply create a `static` file in the root of the project. This file can be added to the gitignore to ensure it isn't committed. 8 | 9 | To add the driver, simply copy the `StaticValetDriver.php` file to your `~/.config/valet/Drivers` folder. 10 | -------------------------------------------------------------------------------- /StaticValetDriver.php: -------------------------------------------------------------------------------- 1 |