Download the PHP package doublesecretagency/craft-googlemaps without Composer

On this page you can find all versions of the php package doublesecretagency/craft-googlemaps. 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 craft-googlemaps

Plugin icon

Google Maps plugin for Craft CMS

Maps in minutes. Powered by the Google Maps API.


Address Fields   •   Dynamic & Static Maps   •   Proximity Searching   •   IP-based Geolocation

Includes easy-to-use Address Fields

When managing your Craft data, each location can be set with a convenient Address field...

Animated GIF of an Address field

Create flexible Dynamic & Static Maps

Add markers, use info windows, style maps, change marker icons, apply KML layers, and much, much more...

Screenshot of a dynamic map

Universal API

The plugin features a powerful universal API which works nearly identically across JavaScript, Twig, and PHP!

Search for the Nearest Locations

Find the closest locations, and sort the results from nearest to furthest...

Screenshot of a set of proximity search results

Simple IP-based Visitor Geolocation

Locate your visitors based on their device's IP address...

Screenshot of visitor geolocation results


How to Install the Plugin

Installation via Plugin Store

See the complete instructions for installing via the plugin store...

Installation via Console Commands

To install the Google Maps plugin via the console, follow these steps:

  1. Open your terminal and go to your Craft project:

  2. Then tell Composer to load the plugin:

  3. Then tell Craft to install the plugin:

Alternatively, you can visit the Settings > Plugins page to finish the installation. If installed via the control panel, you will automatically be redirected to configure the plugin after installation is complete.

Once installed, you will need to add Google API keys...


Simple Code Examples

These examples barely scratch the surface of what is possible!

For complete details, check out the official plugin documentation...

Adding a Dynamic Map

Full dynamic maps docs are here...

Adding a Static Map

Or use the src attribute directly...

Full static maps docs are here...

Conducting a Proximity Search

Full proximity search docs are here...

Conducting a Geocoding Address Lookup

Full geocoding docs are here...

Geolocating Visitors

Full geolocation docs are here...


Further Reading

If you haven't already, flip through the complete plugin documentation. The examples above are just the tip of the iceberg, there is so much more that is possible!

And if you have any remaining questions, feel free to reach out to us (via Discord is preferred).

On behalf of Double Secret Agency, thanks for checking out our plugin! 🍺

Logo for Double Secret Agency


All versions of craft-googlemaps with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^5.0.0
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 doublesecretagency/craft-googlemaps contains the following files

Loading the files please wait ....