Download the PHP package jdkweb/rdw-api without Composer

On this page you can find all versions of the php package jdkweb/rdw-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rdw-api

RDW API

Packagist Version Static Badge Static Badge

Laravel wrapper for the Dutch open mobility data. Basic Vehicle Registration All non-sensitive data of the Dutch vehicle fleet.

Laravel application to get vehicle information from opendata.rdw.nl or overheid.io. \

This wrapper can be extended to be used in Filament: \ Static Badge Static Badge

Table of contents

Installation

Requires PHP 8.1 and Laravel 10 or higher

Install the package via composer:

If needed you can publish the config

For changing options see: Demo

Translation

If changes are needed you can publish the translation files

Translations available:

Usage

Options

Select other API than default

Overwrite the config settings

Set Licenseplate

With or without hyphen-minus

Select endpoints for request

Available endpoints (not case sensitive):

Format of the response output

by using this method the response contains a formated output. see RdwApiResponse

Set output language

Force output language, so form can be English and RDW response in Dutch. \ Available:

Send the request

RdwApiResponse object will be returned \ When boolean isset and true RdwApiRequest object will be returned

Response

Response data form the RDW API request in $result:

Response methods

Format for response data

Boolean to make xml readable

quickSearch method

Get specific values form response data, always use Dutch key for the value.

Example request

Request:

the method setOutputformat creates a prepared output else output is empty

Response:

$result is an RdwApiResponse object

Json output:

Demo

There is a demo available to test this wrapper \ Two options to use the demo:

  1. .env

    Add this value to .env

  2. config

    Import the rwd-api config en set the value to 1 (Installation)

    Demo: 0 = Off | 1 = On

Demo url

API

Changing Default API\

Use setApi method in request

Or import the rwd-api config (Installation) \ And set 'rdw_api_use' to the correct value

To use https://overheid.io a token is needed \
Place the token in the config: 'rdw_api_key'.

Filament

To use this wrapper in Filament install the filament extension

Static Badge Static Badge


All versions of rdw-api with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
guzzlehttp/guzzle Version ^6.5.8|^7.4.5
spatie/array-to-xml Version ^3.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jdkweb/rdw-api contains the following files

Loading the files please wait ....