How to Auto populate dropdown using Livewire – Laravel

If you are using Laravel for your web development, then you may have come across a requirement to auto-populate a dropdown with the database data.

For example, you may have a form with a country field and you want to auto-populate the states field on the form based on the country selected by the user.

In this article, I show how to auto-populate a dropdown using Livewire in Laravel 9.

I am hoping you have already installed Livewire on your project if not then you can view my previous post for installation.

How to Auto populate dropdown using Livewire - Laravel

Read more

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