Skip to content

ch01_configure_laravel_valet

Daniel Samson edited this page Jul 6, 2022 · 5 revisions

To configure your app to work in laravel valet, you need to call use_request_uri at the start of your router:

router(function() {
    use_request_uri();
    //... add the routes here
});

This will use the request uri to determine the route instead of using mod-rewrite rules.

Clone this wiki locally