Milind Daraniya

Recent Posts

My Recent Blog Entries

How to pass a CSRF token with an Ajax request in Laravel!

Laravel provides built-in CSRF protection to guard against cross-site request forgery attacks. Wh

Laravel Eloquent whereBetween() Query Example

The whereBetween() method allows you to retrieve records from a database table that fall within a

How to Fix Token Mismatch Exception in Laravel

The "TokenMismatchException" is a common issue encountered when working with forms in Laravel. Th

Generating a Custom Sitemap in Laravel 10

Creating a sitemap is crucial for search engine optimization (SEO) as it helps search engines dis

How to Automatically Generate Sitemap in Laravel?

A sitemap is a vital component for search engine optimization (SEO) as it helps search engines di

What is the distinct() method in Laravel?

In Laravel, the distinct() method is a powerful query builder method that allows you