inalto / filament-coord-picker
Form coord picker field for filament
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:CSS
Requires
- php: ^8.2
- illuminate/contracts: ^10.0||^11.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^9.0.0||^8.22.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- spatie/laravel-ray: ^1.35
README
The Coordinate Picker Field is an interactive and user-friendly component for FilamentPHP forms, allowing users to precisely select geographical coordinates. This field integrates a dynamic map interface, where users can pinpoint a location by either entering an address or manually navigating and clicking on the map. Upon selection, the field automatically captures and fills in the latitude and longitude coordinates.
Installation
You can install the package via composer:
composer require inalto/filament-coord-picker
You can publish and run the migrations with:
php artisan vendor:publish --tag="filament-coord-picker-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="filament-coord-picker-config"
This is the contents of the published config file:
return [
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-coord-picker-views"
Usage
$filamentCoordPicker = new inalto\FilamentCoordPicker();
Testing
composer test
🙏 Big Thanks to 🙏
- Leaflet | http://leafletjs.com
🤑 Support Us 🤑
These codes make your life easier and you avoid wasting time?
Give us some RedBull!
USDT(BEP20)
0x367B9207ACBC30022F9A7262320E36661D7Ffeb5
✉️ Contact Us ✉️
Do you have any suggestions?
Do you need to customise this plugin?
Mail: webmaster@inalto.com
Telegram: @inaltoDev
Credits
License
The MIT License (MIT). Please see License File for more information.