Download the PHP package oomphinc/gravity-forms-google-places without Composer

On this page you can find all versions of the php package oomphinc/gravity-forms-google-places. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package gravity-forms-google-places

Google Places Field for Gravity Forms

The Google Places Field for Gravity Forms provides a new field type that integrates with the Google Places API, offering easy look-ups of addresses and certain points of interest. The user-selected entry from the results set is submitted as the value for the Google Places form field, and additional information can be collected from the Google Places API response data in separate form fields (hidden or exposed).

Integration with the Google Places API is made possible by the Geocomplete jQuery plugin.

Installation

You can download this plugin as a ZIP file from GitHub and install it on your WordPress site like any other plugin. The Gravity Forms plugin is required as well, and this plugin has been tested up to Gravity Forms v2.2.5. Once both plugins are installed and activated, you can begin adding Google Places fields to your forms.

How to Use

A new field type labeled "Google Places" should appear under the "Advanced Fields" section of the Gravity Forms form editor. To use, simply drag a new Google Places field into the desired position. The field does not require any additional configuration to work. If you just need to collect an address in its single-line form (as populated in the field by the Google Places API), you're all set! If you need to collect additional place data, or collect components of the selected address in their own fields, keep reading.

Collecting Additional Data

The Google Places API returns more data about the selected address than what is populated in the Google Places field, and these additional components can be collected in separate fields. As well, components that appear in the populated value of the Google Places field can be collected in their own fields for easier data manipulation on form entries. For instance, you may wish to collect the City, State, and/or Country values separately or collect the latitude and longitude values of the address.

Address components can be populated into "Single Line Text" or "Hidden" fields. To collect additional address components, add a new field of either of these types and select the "Advanced" tab of the edit form for the new field. You should see a set of configuration options labeled "Populate with Google Places Address Component." In the "Field ID" box, enter the field ID of the "Google Places Lookup" field that you wish to populate from. The "Component" option should be filled with the address component you'd like to collect; for a list of possible components, see the "Address and Places Component Types" section of the Geocomplete documentation. Some components include a shortened version (e.g. "RI" instead of "Rhode Island"), but by default, the result will contain the full version. To access the short version, append _short to the component type. For example, to collect the short value of the state value for a U.S. address, the component would be administrative_area_level_1_short.

Multiple Google Places fields can be placed on a single form. When collecting additional address components, ensure you are entering the correct field ID that corresponds to the places field.

Issues

If you run into a problem with this plugin, please feel free to open a new issue!


All versions of gravity-forms-google-places with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package oomphinc/gravity-forms-google-places contains the following files

Loading the files please wait ....