Skip to content
/ KvK Public

This package provide access to the KvK API using one simple class.

Notifications You must be signed in to change notification settings

Alexwijn/KvK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KvK API client

Packagist License Latest Stable Version Total Downloads

This package provide access to the Kvk API using one simple class.

Installation

Require this package with composer.

composer require alexwijn/kvk

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Laravel 5.5+:

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

Alexwijn\KvK\ServiceProvider::class,

Example

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Alexwijn\KvK\Client as KvK;

class CompanyController
{
    public function index(Request $request, KvK $kvk)
    {
        return $kvk->companies()->search($request->query);
    }
}

About

This package provide access to the KvK API using one simple class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages