places2be/position

Handling addresses and coordinates

2.1.0 2025-02-25 11:05 UTC

This package is auto-updated.

Last update: 2025-02-25 11:06:18 UTC


README

PHP from Packagist Latest Stable Version Total Downloads License

Bit&Black Logo

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.