alexwijn / kvk
Installs: 1 310
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- ext-json: *
- laravel/framework: 4.3.*|5.7.*|5.8.*
This package is auto-updated.
Last update: 2025-03-29 00:59:06 UTC
README
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); } }