What is routing:
Routing in Laravel allows you to route all your application requests to its appropriate controller. The main and primary routes in Laravel acknowledge and accept a URI (Uniform Resource Identifier) along with a closure, given that it should have to be a simple and expressive way of routing.
What is closure:
https://stackoverflow.com/questions/47348081/what-is-closure-in-laravel
HTTP Methods:
get, put, patch, post, delete
GET is used to list records from the database
Where the default route files:
All Laravel routes are defined in your route files, which are located in the routes directory. These files are automatically loaded by your application's App\Providers\RouteServiceProvider. The routes/web.php file defines routes that are for your web interface. These routes are assigned the web middleware group, which provides features like session state and CSRF protection. The routes in routes/api.php are stateless and are assigned the api middleware group.
My goal with this Laravel series is to create a guide for those just learning Laravel. This guide will take you from the very beginning of an idea into a real deployable application.
If you are facing any problem during development, you can post your queries free of cost at https://solutions.cdlcell.com so our team will respond to you within 24 hours.
If you need paid help from us, please visit https://solutions.cdlcell.com/user/instant-help to process a contract with us.
* Contact us: contact@cdlcell.com
* Our website: https://cdlcell.com
* My Twitter: https://twitter.com/HadayatNiazi3
* My FB: http://facebook.com/hadayatniaziofficial
Follow us on LinkedIn: https://linkedin.com/in/cdlcell
Follow us on Tiktok: https://tiktok.com/@ cdlcell
Join us on Instagram: https://instagram.com/cdlcell
Follow us on Facebook: https://facebook.com/cdlcellpk
Join our Laravel Developers whatsapp group: https://chat.whatsapp.com/JSA8qZZGVbPIv9NdHeIwyi
#php
#phplaravel
#laravel
#webdevelopment
#cdl
#career_development_lab
#hadayatniazi
#coding
#technology