Download the PHP package sqits/laravel-postcode without Composer
On this page you can find all versions of the php package sqits/laravel-postcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sqits/laravel-postcode
More information about sqits/laravel-postcode
Files in sqits/laravel-postcode
Package laravel-postcode
Short Description Laravel wrapper for the postcode-nl api
License MIT
Informations about the package laravel-postcode
Laravel wrapper for postcode-nl api
Installation and usage
This package requires PHP 7.2 and Laravel 5.8 or higher. Install the package by running the following command in your console;
You can publish the config file with:
This is the contents of the published config file:
Using the JSON API
In order to use the API, enabled it in the configuration. When enabled, the following route is available:
or use the following URL (e.g. for AJAX calls):
Configuration
Credentials (required)
The key and secret are used for authentication. Without them, you cannot use the service.
Enable routes (optional)
This package comes with a ready to use JSON API, which is disabled by default. You can enable it like so:
Timeout (in seconds, optional)
By default, the client waits 10 seconds for a response. You may set a different timeout.
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security-related issues, please email to [email protected] instead of using the issue tracker.
Credits
- Sqits
- Milan Jansen
- Ruud Schaaphuizen
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-postcode with dependencies
laravel/framework Version ^5.8|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
guzzlehttp/guzzle Version ^7.2
laravel/helpers Version ^1.1.1