Laravel Maps package allows you to easily use leaflet.js or google maps to create a map in your laravel project. You can install the package via composer: composer require larswiegers/laravel-maps If you want to customize the map views more then you can publish the views: php artisan vendor:publish --provider="Larswiegers\LaravelMaps\LaravelMapsServiceProvider"

No configuration has to be set to use as it is the default file host for this library.

Do note that if you want to use multiple maps on the same page that you need to specify an id per map.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners