Controller in Laravel

Controller is a central unit of all mvc frameworks like zendphp, laravel, cakephp. It connect all modal, view and routing that’s why it is called controller. all controlls whole framework. When we have to connect database then we connect databases in modal, from there we put it it controllers and…
Read More

Redirect Page from Targeted Page – Laravel

Sometimes we have two page like home.blade.php and login.blade.php, everyone want to go on home.blade.php, but admin wants to open first login.blade.php, then he have to redirect it from home.blade.php to login.blade.php. How to Redirect Between Page? We have below Two Page in  : /resources/view/ directory. There anchor tags are : <a href="/home">Home Page</a><a href="/login">Login Page</a> Open  : routes/web.php Write Route::get() code for…
Read More

Pass Data via URL on Page

How to pass value from url on page? For passing value we have to create the variable that store value and return to the page; Go to  : routes/web.php Write Code for Value :Route::get('/{name}', function ($name) {return view('value', ["name" => $name]);}); Here, {name} is for storing data in the variable, then passing it…
Read More

Root Between Pages in Laravel

How to Route between Two or More pages? Note : anchor tag a href="" in html under laravel framework is predefine in the system we have to give it targeting path. For example we have to two pages in resources/view/ directory:home.blade.phpabout.blade.php Anchor tag for these pages are: <a href="/home">Home Page</a> <a href="/about">About Page</a> Note : you…
Read More

Laravel Guide

Composer Introduction  Composer is a php dependency manager. for example : all php frameworks like zend, laravel, symfony, needs composer via comsposer.json file. All files (packages) that we need will be downloaded in vendor folder.Why we need it? : If we have to download all package or files in core/manual, that require huge…
Read More
24kharido

About 24kharido.in

24Kharido.in was founded in October 2020 out of a need to give B2C, C2C Businesses a new way to reach their customers locally and where services are activated. 24kharido.in helps in delivery your requirements or needs to your home from local stores, markets, and also from your favorite store by…
Read More