places2be/position

Handling addresses and coordinates

1.2.0 2019-11-04 15:11 UTC

This package is auto-updated.

Last update: 2020-02-04 15:57:11 UTC


README

PHP 7.1 Codacy Badge Latest Stable Version Total Downloads License composer.lock

Places2Be Position

Handling addresses and coordinates.

Installation

This library is made for the use with Composer. Add it to your project by running $ composer require places2be/position.

Usage

Set up an address like that:

<?php 

use Places2Be\Position\Address;

$locationAsAddress = new Address(
    'Überkinger Straße', 
    '4', 
    '70372', 
    'Stuttgart', 
    'Deutschland'
);

Set up coordinates like:

<?php 

use Places2Be\Position\Coordinates;

$locationAsCoordinates = new Coordinates(48.806032, 9.213567);

Help

If you have any questions feel free to contact us under places2be-position@bitandblack.com.