Download the PHP package fathihfaiz/laravel-maps-suite without Composer
On this page you can find all versions of the php package fathihfaiz/laravel-maps-suite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fathihfaiz/laravel-maps-suite
More information about fathihfaiz/laravel-maps-suite
Files in fathihfaiz/laravel-maps-suite
Download fathihfaiz/laravel-maps-suite
More information about fathihfaiz/laravel-maps-suite
Files in fathihfaiz/laravel-maps-suite
Vendor fathihfaiz
Package laravel-maps-suite
Short Description Laravel Blade components for Leaflet, Google Maps, and Mapbox integration.
License MIT
Homepage https://github.com/fathihfaiz/laravel-maps-suite
Package laravel-maps-suite
Short Description Laravel Blade components for Leaflet, Google Maps, and Mapbox integration.
License MIT
Homepage https://github.com/fathihfaiz/laravel-maps-suite
Please rate this library. Is it a good library?
Informations about the package 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
Publish Configuration and Views
βοΈ Configuration
Edit your .env file:
You can edit default map behavior via config/mapsuite.php.
π Supported Drivers
| Driver | Props/Features | Notes |
|---|---|---|
| Leaflet | clustering, popupOptions, polylines, polygons |
Open-source, offline-friendly |
mapType, fitToBounds, centerToBoundsCenter |
API key required | |
| Mapbox | style, accessToken |
Requires Mapbox token |
π§° Blade Component Usage
π§ Generic auto-resolving map
π Leaflet Example
π° Google Maps Example
πΊ Mapbox Example
π Marker Schema
Each marker is an array with:
| Prop | Type | Description |
|---|---|---|
lat, lng |
float | Coordinates |
info |
string | Popup HTML/text |
open |
bool | Call .openPopup() |
label |
string | Tooltip/marker title |
icon |
string | URL to icon image |
iconSizeX |
int | Icon width |
iconSizeY |
int | Icon height |
draggable |
bool | Allow marker dragging |
π§ͺ Testing
To run a preview:
Then test Blade calls from a view or Tinker.
Test cases should include:
- Basic render
- Popups
- Polyline and polygon display
- Dynamic clustering
π€ 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
MIT Β© 2024 Fathih Faiz
All versions of laravel-maps-suite with dependencies
PHP Build Version
Package Version
The package fathihfaiz/laravel-maps-suite contains the following files
Loading the files please wait ...