Explain active record concept in Laravel.
In active record, class map to your database table. It helps you to deal with CRUD operation.
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…
Use hasTable() Laravel function to check the desired table is exists in the database or not.
It is a type of module or packages which are used to create fake data. This data can be used for testing purpose. It is can also be used to…
You can create all web pages of a website to tell the search engine about the organizing site content. The crawlers of search engine read this file intelligently to crawl…
delete(): remove all record from the database table. softDeletes(): It does not remove the data from the table. It is used to flag any record as deleted.
It is a method of identifying user login credential with a password. In Laravel it can be managed with a session which takes two parameters 1) username and 2) password.
Laravel provides APIs to send an email on local and live server.
Laravel supports following artisan commands: PHP artisan down; PHP artisan up; PHP artisan make:controller; PHP artisan make:model; PHP artisan make:migration; PHP artisan make:middleware;
This function is used to dump contents of a variable to the browser. The full form of dd is Dump and Die.