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. Post navigation Explain Auth. How can you make real time sitemap.xml file in Laravel?