Download the PHP package thewebmen/silverstripe-addressfield without Composer
On this page you can find all versions of the php package thewebmen/silverstripe-addressfield. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download thewebmen/silverstripe-addressfield
More information about thewebmen/silverstripe-addressfield
Files in thewebmen/silverstripe-addressfield
Download thewebmen/silverstripe-addressfield
More information about thewebmen/silverstripe-addressfield
Files in thewebmen/silverstripe-addressfield
Vendor thewebmen
Package silverstripe-addressfield
Short Description Silverstripe address field with geolocation
License BSD-3-Clause
Package silverstripe-addressfield
Short Description Silverstripe address field with geolocation
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package silverstripe-addressfield
SilverStripe Address field
Introduction
Address field with geolocation
Requirements
- Silverstripe CMS
^4 || ^5
- "jeroendesloovere/geolocation-php-api": "1.3.*"
Installation
Config
Add the Google Maps API key:
Or add the following variable to your .env
:
Usage
Add all db fields to the db array:
Then add the field like any other field
See the addressfield class for all constructor options.
Distance helper
The module comes with a distance helper to calculate the distance between two latitude/longitudes, example usage:
Todo
- Improve documentation
All versions of silverstripe-addressfield with dependencies
PHP Build Version
Package Version
Requires
silverstripe/cms Version
^4.0@dev
silverstripe/vendor-plugin Version ^1.0
jeroendesloovere/geolocation-php-api Version 1.3.*
silverstripe/vendor-plugin Version ^1.0
jeroendesloovere/geolocation-php-api Version 1.3.*
The package thewebmen/silverstripe-addressfield contains the following files
Loading the files please wait ....