alexwijn/kvk

1,310
Install
composer require alexwijn/kvk
License:MIT
Last Updated:Aug 29, 2019
Links: GitHub  ·  Packagist
Maintainer: Alex Wijnholds

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);
    }
}

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664