PHPackages                             fathihfaiz/laravel-maps-suite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. fathihfaiz/laravel-maps-suite

ActiveLibrary[Templating &amp; Views](/categories/templating)

fathihfaiz/laravel-maps-suite
=============================

Laravel Blade components for Leaflet, Google Maps, and Mapbox integration.

v1.0.1(1y ago)034MITPHPPHP &gt;=8.0

Since Apr 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/fathihfaiz/laravel-maps-suite)[ Packagist](https://packagist.org/packages/fathihfaiz/laravel-maps-suite)[ Docs](https://github.com/fathihfaiz/laravel-maps-suite)[ RSS](/packages/fathihfaiz-laravel-maps-suite/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Laravel Maps Suite 🗺️
=====================

[](#laravel-maps-suite-️)

A Laravel Blade component library for embedding **Leaflet**, **Google Maps**, and **Mapbox** maps via Blade components, designed for simplicity and power.

---

📦 Installation
--------------

[](#-installation)

```
composer require fathihfaiz/laravel-maps-suite
```

### Publish Configuration and Views

[](#publish-configuration-and-views)

```
php artisan vendor:publish --tag=maps-config
php artisan vendor:publish --tag=maps-views
```

---

⚙️ Configuration
----------------

[](#️-configuration)

Edit your `.env` file:

```
MAP_DRIVER=leaflet  # or google / mapbox
GOOGLE_MAPS_API_KEY=your_google_key
MAPBOX_ACCESS_TOKEN=your_mapbox_token

```

You can edit default map behavior via `config/mapsuite.php`.

---

🌍 Supported Drivers
-------------------

[](#-supported-drivers)

DriverProps/FeaturesNotes**Leaflet**`clustering`, `popupOptions`, `polylines`, `polygons`Open-source, offline-friendly**Google**`mapType`, `fitToBounds`, `centerToBoundsCenter`API key required**Mapbox**`style`, `accessToken`Requires Mapbox token---

🧰 Blade Component Usage
-----------------------

[](#-blade-component-usage)

### 🧭 Generic auto-resolving map

[](#-generic-auto-resolving-map)

```

```

### 🍃 Leaflet Example

[](#-leaflet-example)

```

```

### 🛰 Google Maps Example

[](#-google-maps-example)

```

```

### 🗺 Mapbox Example

[](#-mapbox-example)

```

```

---

📍 Marker Schema
---------------

[](#-marker-schema)

Each marker is an array with:

PropTypeDescription`lat`, `lng`floatCoordinates`info`stringPopup HTML/text`open`boolCall `.openPopup()``label`stringTooltip/marker title`icon`stringURL to icon image`iconSizeX`intIcon width`iconSizeY`intIcon height`draggable`boolAllow marker dragging---

🧪 Testing
---------

[](#-testing)

To run a preview:

```
php artisan serve
```

Then test Blade calls from a view or Tinker.

Test cases should include:

- Basic render
- Popups
- Polyline and polygon display
- Dynamic clustering

---

🤝 Contributing
--------------

[](#-contributing)

Pull requests welcome! To contribute:

- Fork this repo
- Create a new branch for your feature
- Follow current structure and naming
- Submit PR with description

---

📜 License
---------

[](#-license)

MIT © 2024 Fathih Faiz

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance47

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

397d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4227a2ae8ca256844c5df1626ae65b97bbfa909680699886185b3e7c53e8577f?d=identicon)[fathihfaiz](/maintainers/fathihfaiz)

---

Top Contributors

[![fathihfaiz](https://avatars.githubusercontent.com/u/37175747?v=4)](https://github.com/fathihfaiz "fathihfaiz (3 commits)")

### Embed Badge

![Health badge](/badges/fathihfaiz-laravel-maps-suite/health.svg)

```
[![Health](https://phpackages.com/badges/fathihfaiz-laravel-maps-suite/health.svg)](https://phpackages.com/packages/fathihfaiz-laravel-maps-suite)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

688221.3k17](/packages/livewire-blaze)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)[konekt/html

HTML and Form Builders for the Laravel Framework

24403.2k5](/packages/konekt-html)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
