Laravel Facades
Getting non static function statically is called Facades. Lets set the cache like below in our web route cache()->set('name',"navid"); and get it using dd() dd(cache()->get('name')); Result : “navid” As we…
Architecture Concepts of laravel
Getting non static function statically is called Facades. Lets set the cache like below in our web route cache()->set('name',"navid"); and get it using dd() dd(cache()->get('name')); Result : “navid” As we…
All services are added to service container using Service Provider. Every service of your application is provided using service provider. Lets open to bootstrap/app.php.We will see below code. $app =…
We should understand Laravel’s Request lifecycle so that we may interact with/change request/response data or do anything else. First Step Every server, including Apache, that makes a request redirect to…