What is Eloquent?
English: Eloquent is Laravel's ORM used to interact with the database using PHP objects. Hindi: Eloquent Laravel ka ORM hai jo database se PHP object ke through baat karta hai.…
English: Eloquent is Laravel's ORM used to interact with the database using PHP objects. Hindi: Eloquent Laravel ka ORM hai jo database se PHP object ke through baat karta hai.…
To create a connection with the database, you can use .env file.
Cookies are small file sent from a particular website and stored on PC by user’s browser while the user is browsing.
@include is used to load more than one template view files. It helps you to include view within another view. User can also load multiple files in one view.
English: MVC stands for Model-View-Controller. It is a software design pattern used for developing applications. Hindi: MVC ka matlab hota hai Model-View-Controller. Ye ek software design pattern hai jo application…
In order to use a custom table, you can override the property of the protected variable $table.
Implicit Controllers help you to define a proper route to handle controller action. You can define them in route.php file with Route:: controller() method.
Following are basic concepts used in Laravel: Routing Eloquent ORM Middleware Security Caching Blade Templating
In active record, class map to your database table. It helps you to deal with CRUD operation.
Insert(): This function is simply used to insert a record into the database. It not necessary that ID should be autoincremented. InsertGetId(): This function also inserts a record into the…