How to Add Remove package using Composer in Laravel

Laravel does not come with pre-installed packages. You will need to install them manually before you can make use of them in your project.

Installing these packages using composer is simple if you know the exact package names or their GitHub repositories.

In this tutorial, I show how you can add remove package using composer in Laravel.

How to add remove package using composer in Laravel

Read more

How to upload file using cURL in PHP

Uploading files (images, documents, etc.) on web pages is an essential part of most websites.

If you are on the same server and upload file then you can easily upload it either directly using PHP or AJAX but if you want to upload it to another server then you have to use cURL.

In this tutorial, I show how you can upload file using cURL in PHP.

How to upload file using cURL in PHP

Read more