A Laravel package for working with Countries.


Via Composer

composer require dcblogdev/laravel-countries


In a controller import the class:

use Dcblogdev\Countries\Facades\Countries;

In a view or closure call the facade:

This will return an object of countries


Help support the blog so that I can continue creating new content!

Fathom Analytics $10 discount on your first invoice using this link

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2006 - 2023 DC Blog. All code MIT license. All rights reserved.