Debug Laravel Application with Laravel Debugbar

Debugging is a helpful feature for developers to identify the causes of issues. Nowadays it’s easy to debug applications because most of the modern application frameworks provide you with inbuilt debug functionality. The Symfony Framework implements by default a useful debugging bar. Laravel Debugbar package to integrate PHP Debug Bar with Laravel. It includes a

Learn More

Eloquent Accessors and Mutators in Laravel

In this Blog, we’ll understand mutators and accessors of the Eloquent ORM in the Laravel framework by examples. Laravel, Accessors, and Mutators allow us to alter data while saving and fetching. As per the name, the Accessor alters data while accessing and Mutators modify data while saving. The major difference between an accessor and a

Learn More

Laravel Google Login Using Socialite

Nowadays, it’s common to provide login functionality using social media platforms like Google, Facebook, and Twitter, or developer platforms like GitHub. Normally all users are using Facebook, Gmail, etc. So if we provide a way to log in to our system they don’t have to fill out sign-up forms or they don’t need to remember

Learn More

Read XML File in Laravel

In this example, we will load an XML file and convert it into an array in the Laravel application. Before we start let’s know more about XML. What is XML? XML stands for Extensible Markup Language. It’s a markup language like HTML to store and transmit data. It has per-defined rules for encoding documents in

Learn More

Reading or parsing CSV File in Laravel

In this example, we will create a CSV file, read that CSV file from our controller and return CSV data as a JSON response in Laravel Application. What is CSV? The CSV stands for Comma Separated Values. It’s a plain text file that we can use to store information on a hard drive. In a

Learn More

Laravel Automatic Daily Database Backup Example

In software development, we need to be ready to handle server crashes or data being mistakenly and this can cause a lot of trouble for the business. So developing a system that takes database backup regularly is considered the best practice. Database backups are essential for protection against data loss that can disrupt operations and

Learn More