Laravel Working With Database

Laravel Working With Database

The MVC framework has made it easy to integrate database. It currently supports only 4 major databases which are MySQL, Postgres, SQLite, and SQL...
Laravel Redirections

Laravel Redirections

Named Routes Redirection You can provide the desired name to a route. For this purpose, you have the liberty to use “as”, which is an...
Laravel Views

Laravel Views

Views By now, you must have understood the importance of Views. In fact, the MVC framework itself emphasizes the importance of V as Views. In...
Laravel Cookies

Laravel Cookie

Cookie Creation You can create a cookie by the use of Laravel’s global cookie helper. The global cookie helper is nothing but an instance of...
Laravel Response

Laravel Response

Basic Response Each and every request is linked with a response. The MVC framework offers you various ways through which you can return a response...

Laravel Middleware

Middleware Middleware acts as a filter between the request and the response. For an instance, A middleware of Laravel is used to verify the authenticated...

Laravel Controllers

 Controllers In any of the MVC frameworks, ‘C’ is usually used to denote Controller. It helps in directing the traffic from views to models and...

Laravel Request

Retrieval of the Request URI/Path If you want to retrieve a requested URI then you have to use the ‘path’ method. There is another method...

Laravel Routing

The basic routes are defined in the app directory under the name ‘routes.php’. Basic Routing The basic routing is responsible for routing all your requests to...

Laravel Configuration

Basic Configuration After the installation of Laravel, you will be required to set an application key to a random string. This step is not required...