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

Everything You Need to Know About Laravel Caching

The cache is used to store data in a temporary or permanent environment for better performance and user experience. Caching is essential for achieving high performance and scalability. Setting up proper caching can reduce the load on the server and is helpful for minimal page response time. Laravel has in-built caching functionality with multiple options.

Learn More

Creating Custom Config File in Laravel

While developing web applications configuration plays a major role. Laravel framework makes it easy to handle configurations for complex applications with config files. All configuration files for the Laravel framework are stored in the config directory. In Laravel, you can create custom config files as per your requirements. You can also use the config() helper

Learn More

Laravel One to One Relationship Example

In database design, relationships are important to perform normalization. With a relationship, we can easily store, retrieve, and validate data. In the Laravel framework, Eloquent provides an easy way to work with database relationships. In this example, we create two different tables and define the relationship between them. A one-to-one relationship is a very simple

Learn More

Most Useful Array Function in PHP

In this tutorial, we will learn about PHP array functions and how to use them. Those array functions are in-built into PHP. There are many array functions in PHP but in this tutorial, we will see most common and regular-use functions with practical examples. Before starting, let’s know more about the array. What is an

Learn More

Remove the Passport Package in Laravel

Laravel Passport API authentication is one of the best API authentication packages but sometimes we are required to use other authentication systems like Sanctum or JWT after using Laravel. Then it required removing Laravel’s passport completely. We can directly change the package but it will hold file memory and database table with it. Eventually, it

Learn More

MySQL Database Connection Tutorial in PHP

While developing a dynamic website, the first thing we need to connect our database to a PHP application. Even small application that requires dynamic data needs a database connection. Without a database connection, we can’t perform any operations like create, read, update, and delete. In this tutorial, we will connect our PHP application with MySQL

Learn More

XAMPP Configuration for Sending Mail

Nowadays, mail communication is common over mail in web applications. Those emails can be any type like notifications, OTP emails, password reset links, or just alert emails. Sometimes, mail configuration can be harder than sending mail as a beginner. In this blog, we will set up mail and enable XAMPP to send mail using the

Learn More

Function in PHP with Types

In web development, It’s considered best practice to split code into small functions that can be reused in further applications per requirement. Before starting let’s understand more about functions. There are more than a thousand in-built functions provided by PHP like string functions, array functions, and more. What is Function? A function is a block

Learn More