Download the PHP package chuckbe/dokapi-laravel-sdk without Composer

On this page you can find all versions of the php package chuckbe/dokapi-laravel-sdk. 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 dokapi-laravel-sdk

Dokapi Laravel SDK

This package consumes the Dokapi API.

Installation

Publish

Publish the config file with:

Configuration & Environment

Make sure to set up your environment variables and modify where necessary.

Usage

Example:

Endpoints

Lookup

This endpoint is to lookup participants in the SML (or SMK - test).

Parameters:

Response:

Participant registration

This endpoint is to register and deregister participants their business cards and document types.

Page

This will a paginated list of participant registrations registered by this client.

Parameters:

Example:

Response:

All

This will get all participant registrations registered by this client.

Parameters:

Example:

Response:

Find

This will search for a participant registration registered by this client. This will not perform a full lookup.

Parameters:

Example:

Response:

Create

This will create a participant registration for this client.

Parameters:

Example:

Response:

Business card

This will perform a full replace of a participant's business card.

Parameters:

Example:

Response:

Register document type

This will register a document type for a participant.

Parameters:

Example:

Response:

Deregister document type

This will deregister a document type for a participant.

Parameters:

Example:

Response:

Incoming document

Confirm download

This endpoint will confirm Dokapi of the download of a file.

Parameters:

Example:

Response:

Generate presigned url

This endpoint will generate a new pre signed url if the existing one has been expired.

Parameters:

Example:

Response:

Outgoing document

Create

This endpoint will create a new outgoing document.

Parameters:

Example:

Response:

Webhook

All

This endpoint lists all webhooks registered.

Example:

Response:

Create

This endpoint creates a webhook, this can be for multiple events. Possible events: 'outgoing-peppol-documents.sent', 'incoming-peppol-documents.received', 'client.cancellation'.

Parameters:

Example:

Response: :: Response will contain a ulid string; store this, you'll need if you want to remove the webhook.

Delete

This endpoint deletes a webhook.

Parameters:

Example:

Response:

Secret

This endpoint generates a webhook secret. In case you need a new key, rerun this operation to invalidate the previous key and regenerate a new one.

Example:

Response: :: Store the message as the webhook secret key and use to validate webhooks.


All versions of dokapi-laravel-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-curl Version *
ext-json Version *
ext-openssl Version *
composer/ca-bundle Version ^1.2
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.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 chuckbe/dokapi-laravel-sdk contains the following files

Loading the files please wait ...