Skip to content

Commit b4a16fe

Browse files
committed
Update installation notes
1 parent 7bba76f commit b4a16fe

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ Licence follows `google/open-location-code`.
1717
## Installation
1818
via Composer:
1919

20-
(WIP)
20+
```sh
21+
composer require vectorial1024/open-location-code-php
22+
```
2123

22-
Special notice: this library requires a 64-bit PHP runtime because some Open Location Code calculation may exceed the 32-bit integer limit. (Subject to review.)
24+
**Special Notice**: to ensure 32-bit PHP compatibility, this library uses `float` variables instead of `int` variables to handle Open Location Codes.
25+
This may cause inaccuracies in some unforseen edge cases, but generally speaking, there should be no problems.
2326

2427
## Example code
2528
(WIP)

0 commit comments

Comments
 (0)