What is a Route?
A route is basically an endpoint specified by a URI (Uniform Resource Identifier). It acts as a pointer in Laravel application. Most commonly, a route simply points to a method…
A route is basically an endpoint specified by a URI (Uniform Resource Identifier). It acts as a pointer in Laravel application. Most commonly, a route simply points to a method…
Aggregates methods of query builder are: 1) max() 2) min() 3) sum() 4) avg() 5) count()
English: Middleware filters HTTP requests entering your application. Hindi: Middleware ek filter hai jo HTTP request ko application me jaane se pehle check karta hai. HTTP middleware is a technique…
It is an application-level package manager for PHP. It provides a standard format for managing PHP software dependencies and libraries.
Laravel 10.11 Released. May 17th, 2023
Laravel is an open-source widely used PHP framework. The platform was intended for the development of web application by using MVC architectural pattern. Laravel is released under the MIT license.
View folder contains all the markup files like header, footer, sidebar, etc. They can be reused by embedding them anywhere in controller file. They can't call directly, and they have…
To connect database manually use following syntax, $this->load->database();
To load models in controller functions, use the following function: $this->load->model('ModelName'); If in case your model file is located in sub-directory of the model folder, then you have to mention…
Model's responsibility is to handle all data logic and representation and load data in the views. It is stored in application/models folder. The basic structure of a model file Here,…