Laravel CRUD Application

In this tutorial, we are going to create a Laravel application with CRUD operation. In programming, create, read, update, and delete are the four basic operations of data storage. We will give you a simple example of how to perform a CRUD operation in Laravel 8. Laravel is one of the most popular PHP-based frameworks

Learn More

Error Handling – Laravel Try and Catch

While using applications sometimes we face errors like “Whoops, something went wrong” or get framework exception code which you can understand but the user can’t. In Laravel we can handle those types of errors and give proper error explanations to users using try and catch. When we try to get value from a null model

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

Database Backup with Spatie Backup in Laravel

As we already know database backup is an essential part of the software development process. But sometimes it will become messy or time-consuming to manually take database backups check which database is older and delete older databases. You will feel great after knowing that the Spatie Laravel-Backup library can perform most of the database backup

Learn More