PHP code example of sqits / laravel-postcode

1. Go to this page and download the library: Download sqits/laravel-postcode library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sqits / laravel-postcode example snippets


route('postcode-nl::address', [$postcode, $houseNumber, $houseNumberAddition = null]);
 bash
php artisan vendor:publish --provider="Sqits\Postcode\PostcodeServiceProvider" --tag="config"
ini
POSTCODENL_KEY=<your-api-key>
POSTCODENL_SECRET=<your-secret>
ini
POSTCODENL_ENABLE_ROUTES=true