2017 © Pedro Peláez
 

library address

Component for fetching address

image

rm/address

Component for fetching address

  • Wednesday, May 9, 2018
  • by romanmatyus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

RM\Address

Configuration

config.neon

extensions:
    address: RM\Address\DI\AddressExtension

address:
    google:
        country: sk
        language: sk

config.local.neon

address:
    google:
        key: secretKeyFrom300gle

In component

$form['street']->setAttribute('data-source', $presenter->link(':Address:Address:address'));
// $form['number'];
// $form['city'];
// $form['zip'];
// $form['country']; // options are array of ['code' => 'Name of state', 'sk' => 'Slovakia']

The Versions

09/05 2018