We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c1fc92 commit a71c93fCopy full SHA for a71c93f
1 file changed
README.md
@@ -68,3 +68,17 @@ $address->getZipCode(); // 1012JS
68
$address->getLongitude(); // 4.4584
69
$address->getLatitude(); // 52.2296
70
````
71
+
72
+Or use the Facade:
73
74
+``` php
75
+$address = Postcode::fetchAddress('1012JS', '1')
76
+````
77
78
+Staight in the routes:
79
80
81
+$router->get('postcode/{zipCode}/{number}', function ($zipCode, $number) {
82
+ return Postcode::fetchAddress($zipCode, $number);
83
+});
84
0 commit comments