hnassr / nova-places

Laravel Nova algolia places field for address autocomplete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Laravel Nova algolia places field for address autocomplete


Languages

Language:Vue 75.0%Language:PHP 19.7%Language:JavaScript 5.1%Language:CSS 0.2%