Permalink
Browse files

update readme to reference using doc

  • Loading branch information...
1 parent 175d842 commit a9f0cdedf16097ed079dbe3a3e48de996b768b84 @alcohol alcohol committed Sep 14, 2016
Showing with 12 additions and 0 deletions.
  1. +12 −0 README.md
View
@@ -20,6 +20,18 @@ A PHP library providing ISO 3166-1 data.
$ composer require league/iso3166
```
+## Using
+
+See [using](https://iso3166.thephpleague.com/using) section of the documentation.
+
+Quick guide:
+
+``` php
+$data = (new League\ISO3166\ISO3166)->alpha2($alpha2);
+$data = (new League\ISO3166\ISO3166)->alpha3($alpha3);
+$data = (new League\ISO3166\ISO3166)->numeric($numeric);
+```
+
## Contributing
Feel free to submit a pull request or create an issue.

0 comments on commit a9f0cde

Please sign in to comment.