places2be/position

Handling addresses and coordinates

2.0.0 2022-12-22 07:35 UTC

This package is auto-updated.

Last update: 2024-11-22 11:41:11 UTC


README

PHP from Packagist Codacy Badge Latest Stable Version Total Downloads License

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;

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

Set up coordinates like:

<?php 

use Places2Be\Position\Coordinates;

$coordinates = new Coordinates(48.806032, 9.213567);

Help

If you have any questions feel free to contact us under hello@bitandblack.com.

Further information about Bit&Black can be found under www.bitandblack.com.