Skip to content
Advertisement

How to make route in laravel using GET Page?

Before using laravel, usually I route my page using code like this:

JavaScript

Is there anyway that I can route my page like that but in Laravel? I prefer to use format : www.example.com/?page=schedule rather than www.example.com/schedule

Advertisement

Answer

JavaScript

Documentation: https://laravel.com/docs/8.x/routing

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement