speniti/filament-mapbox
Add interactive Mapbox maps to Filament forms with a location picker, address search/autocomplete, draggable marker, and coordinate storage—making it easy to capture and manage map-based addresses in admin panels.
This package v3.0.0 is a Filament plugin that has been upgraded to target Filament v5. Before installing, confirm your application already runs Filament v5 (composer show filament/filament should report a 5.x version). If you are still on Filament v4, stay on the previous major version of this package.
Minimal steps:
composer require speniti/<package-name> (use the exact package name from Packagist; the release notes only reference the vendor speniti).php artisan vendor:publish --tag=<package>-config (check the README for the exact tag).app/Providers/Filament/AdminPanelProvider.php):
->plugin(\Speniti\<Package>\<Package>Plugin::make())
The plugin class name is typically documented in the package README; look for a class ending in Plugin.php artisan optimize:clear and php artisan filament:cache-components if you use component caching.Where to look first:
README.md for installation and the plugin registration snippet.src/ for the plugin class and any field/widget/resource classes you will use.config/<package>.php (if published) for default options.composer.json to confirm the filament/filament constraint is ^5.0.First use case: add the package's primary component (field, widget, or resource) to an existing Filament resource. For example, if it provides a form field, add it to your Resource::form() schema; if it provides a widget, register it in the panel's widgets() array. Use the package's demo or README example as a starting point, then adapt the configuration to your model.
Day-to-day usage typically follows the standard Filament plugin workflow:
config/<package>.php. Prefer environment variables for values that differ between local and production (e.g. API keys, feature flags).php artisan vendor:publish --tag=<package>-views) when you need to change markup.livewire(), assertFormExists(), etc.) to catch regressions early, especially after upgrading Filament.Integration tips:
->visible() and ->hidden() callbacks on the package's components to conditionally show them based on user roles or feature flags.getStats() or similar methods in a subclass if the package allows it; otherwise use the package's configuration options.^2.0 or whatever the last v4-compatible release was). Do not mix Filament v4 and v5 packages in the same project.composer why-not filament/filament 5.* to identify blockers before upgrading.php artisan filament:cache-components after changes, or php artisan optimize:clear during development.php artisan config:clear (or optimize:clear) in development. In production, remember to re-cache config after deployment.php artisan filament:assets if the package ships assets. Use php artisan about to confirm Filament version and panel configuration.How can I help you explore Laravel packages today?