places2be / position
Handle addresses and coordinates in an object-oriented way.
2.2.0
2025-09-22 13:42 UTC
Requires
- php: >=8.0
- ext-json: *
Requires (Dev)
- jetbrains/phpstorm-attributes: ^1.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^12.0
- rector/rector: ^2.0
- symplify/easy-coding-standard: ^12.0
README
Places2Be Position
Handle addresses and coordinates in an object-oriented way.
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.