How to Upload and Store file to MySQL database – Laravel 9

Storing files in a  database makes managing large amounts of data easier, particularly if they are interrelated with a record. For example – A profile picture or documents of a user, product images, etc.

In this tutorial, I show how you can upload and store file to the MySQL database in the Laravel 9 project and also show how you can retrieve them.

How to upload and store file to MySQL database - Laravel

Read more

Free PHP Currency conversion APIs with Examples

For websites and applications that deal with international transactions or multi-currency payments, currency conversion is an essential feature. Manually updating or using the database to manage exchange rates can be time-consuming and inaccurate.

Using a currency conversion API can provide accurate and up-to-date exchange rates for multiple currencies in real time.

In this tutorial, I will discuss some of the best free PHP currency conversion APIs available and provide examples of how to use them in your PHP projects. These APIs can speed up the process of converting currencies, save you time, and improve the user experience for your clients.

Free PHP Currency conversion APIs with Examples

Read more

How to Add Date range filter with Livewire pagination in Laravel

Using pagination you can divide a large list of records into multiple pages and show a limited number of records per page.

But if the search filter is not available with pagination then traversing the paginated result becomes difficult.

In this tutorial, I show how you can add a date range filter with Livewire pagination in Laravel 9.

In the example, I am using jQuery UI library for datepicker.

How to Add Date range filter with Livewire pagination in Laravel

Read more

Add CKEditor 5 and save it to MySQL database in Laravel

CKEditor is a widely use WYSIWYG (What You See Is What You Get) editor. It provides all the basic features that are required for formatting.

The editor works perfectly but you need to write extra code for file upload through the editor.

In this tutorial, I show how you can add CKeditor 5 to an HTML element and save it to the MySQL database in Laravel 9.

Add CKEditor 5 and save it to MySQL database in Laravel

Read more