Integrating Postcode.nl API into your Laravel project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
composer.json

README.md

PostcodeNL Api Laravel

This package helps you integrating the Postcode.nl API into your Laravel project.

Requirements

  • PHP >=5.4
  • Laravel
  • Guzzle >= 3.8

Installation

Require this package with composer using the following command:

composer require dannyvw/laravel-postcodenl

or add the following to your composer.json file:

{
    "require": {
        "dannyvw/laravel-postcodenl": "dev-master"
    }
}

Add the ServiceProvider to the providers array in app/config/app.php

'Dannyvw\LaravelPostcodenl\LaravelPostcodenlServiceProvider',

Add the facade to the aliases array in app/config/app.php

'Postcodenl' => 'Dannyvw\LaravelPostcodenl\Facade\Postcodenl',

Publish the configuration

php artisan config:publish dannyvw/laravel-postcodenl

Run composer update

composer update

License

Dannyvw\LaravelPostcodeNL is licensed under the MIT License.

Copyright 2014 Danny van Wijk