/nova-places

Laravel Nova algolia places field for address autocomplete

Primary LanguageVue

Nova Places

Latest Version on Packagist CircleCI branch Build Status Quality Score Total Downloads

This package add to laravel nova algolia places field

Screenshots

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require hnassr/nova-places
['country', 'county', 'administrative', 'city', 'full', 'countryCode', 'latlng', 'postcode'] // Available Fileds
Places::make('Place', 'place')
    ->locale('de') // default locale is en
    ->countries(['us', 'uk']) // Search in specific countries
    ->indexField('city') // what to show in resource index page
    ->showFields(['country', 'county', 'administrative', 'city', 'full']), // what to show in resource preview page

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email hanassr@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.