Laravel Nova PHP Google Maps Address Autocomplete: Generate address input field for Laravel Nova

Recommend this page to a friend!
  Info   Documentation   View files (14)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 49 All time: 9,839 This week: 335
Version License PHP version Categories
nova-address-autocom 1.0The PHP License5HTML, PHP 5, Web services, Geography
Description Author

This package can generate address input field for Laravel Nova.

It is a service provider to be used in Laravel Nova administration panel that generate HTML and JavaScript to manage a form input field that will autocomplete addresses typed by the users using the Google Places API of Google Maps platform.

The package can restrict the completed places to specific countries. The map and address language is also configurable.

Picture of Naif Alshaye
  Performance   Level  
Name: Naif Alshaye <contact>
Classes: 20 packages by
Country: Saudi Arabia Saudi Arabia
Age: ???
All time rank: 21739 in Saudi Arabia Saudi Arabia
Week rank: 84 1 in Saudi Arabia Saudi Arabia
Innovation award
Innovation award
Nominee: 6x


Nova Address AutoComplete Field

An address field that autocomplete the user input to show suggested addresses using Google Place service.


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

composer require naif/address_autocomplete


Publish the package config file:

php artisan vendor:publish --provider="Naif\AddressAutocomplete\FieldServiceProvider"

Configuration will be published at [config/address_autocomplete.php].

Add the following keys to your .env and .env.example:


Optional: Set map and address language

_If you need a Google Maps API key, you can create an app and enable Places API and create credentials to get your API key


Add the below to Nova/User.php resource:


//You can add a country or countries to autocomplete or leave empty for all.
// Specify a single country
// Specify multiple countries [array]

Package screenshot



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

File Role Description
config (1 file)
dist (1 directory)
resources (2 directories)
src (2 files)
composer.json Data Auxiliary data
mix-manifest.json Data Auxiliary data
package.json Data Auxiliary data Doc. Documentation
webpack.mix.js Data Auxiliary data

  Files  /  config  
File Role Description
   address_autocomplete.php Conf. Configuration script

  Files  /  dist  
File Role Description
js (1 file)

  Files  /  dist  /  js  
File Role Description
   field.js Data Auxiliary data

  Files  /  resources  
File Role Description
js (1 file, 1 directory)
sass (1 file)

  Files  /  resources  /  js  
File Role Description
components (3 files)
   field.js Data Auxiliary data

  Files  /  resources  /  js  /  components  
File Role Description
   DetailField.vue Data Auxiliary data
   FormField.vue Data Auxiliary data
   IndexField.vue Data Auxiliary data

  Files  /  resources  /  sass  
File Role Description
   field.scss Data Auxiliary data

  Files  /  src  
File Role Description
   AddressAutocomplete.php Class Class source
   FieldServiceProvider.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,839
This week:335

For more information send a message to info at phpclasses dot org.