Download the PHP package captur/events without Composer

On this page you can find all versions of the php package captur/events. 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 events

captur.events PHP SDK

Official-style PHP client for the captur.events event ingestion API.

Base URL: https://captur.events · Default version: v1
Docs: Introduction · OpenAPI

Install

Requires PHP 8.3+.

Authentication

Create a project in the dashboard and copy a test (evt_test_…) or live (evt_live_…) API key.

Every request sends Authorization: Bearer <key>.

Quick start

Optional client options:

Events

Single ingest

Batch ingest

POST a JSON array (max 500). Response shape: { "events": [ … ] }.

List, get, delete

Pagination (list events)

Use either offset (page) or cursor (cursor / starting_after) — not both.

Offset pagination (page + limit):

Cursor pagination (preferred for large histories / continuous sync):

Or continue after a known event id:

Event types

Pagination (list event types)

Offset:

Cursor:

Streams

Pagination (read stream)

Stream reads return events under events (not data).

Offset:

Cursor:

Or continue after a known event id:

Session reports

Pagination (session reports)

Offset:

Cursor:

Webhooks

Test inbox helpers: testInbox(), upsertTestInbox(), deleteTestInbox(), sendTestInboxSample().

Pagination (list webhooks)

Offset:

Cursor:

Alerts

Pagination (list alerts)

Offset:

Cursor:

Projections

Pagination (list projections)

Offset:

Cursor:

Verify webhook signatures

captur signs deliveries with HMAC-SHA256 over the exact raw body (X-Captur-Signature).

Errors

Non-2xx responses throw typed exceptions under Captur\Exceptions\:

Status Exception
401 AuthenticationException
403 AuthorizationException
404 NotFoundException
409 ConflictException
422 ValidationException
429 RateLimitException
other ApiException

Development

Docker:

CI runs on push/PR to main: standards check plus tests with a 100% coverage gate.

Links


All versions of events with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
guzzlehttp/guzzle Version ^7.9
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 captur/events contains the following files

Loading the files please wait ...