Download the PHP package dbellettini/eventstore-client without Composer

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

KurrentDB PHP Client

PHP 8 Latest Stable Version License

A modern PHP client library for KurrentDB (formerly EventStoreDB) HTTP API, designed for event sourcing applications.

Note: This library uses the HTTP API. For TCP integration, see prooph/event-store-client.

Features

Architecture

The library follows a clean architecture with a facade pattern that promotes separation of concerns and follows SOLID principles:

Facade Pattern

EventStore acts as a facade that delegates operations to specialized services:

Factory Pattern

EventStoreFactory provides the recommended way to instantiate EventStore with proper dependency injection and connection validation:

Benefits

Requirements

Installation

Via Composer

Via Metapackage (Recommended)

For the complete package with additional integrations:

Local Development

Quick Start

Basic Setup

Writing Events

Reading Events

Stream Navigation

Optimistic Concurrency Control

Stream Management

Advanced Usage

HTTP Caching

Improve performance with built-in caching:

Custom Service Dependencies

For advanced use cases, you can provide custom implementations of the core services:

Batch Operations

Read multiple events efficiently:

Error Handling

Custom HTTP Client

You can provide your own HTTP client implementing HttpClientInterface:

Development Setup

Quick Start with Make

Testing

The project uses PHPUnit for testing:

API Reference

Main Classes

Service Classes

Enums

Interfaces

Docker Environment

The project includes a complete Docker setup with:

The KurrentDB instance is configured with:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Before submitting:

Dependency Validation

The project includes dependency validation using composer-require-checker to ensure all used dependencies are properly declared in composer.json:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This project is not endorsed by Event Store LLP nor Kurrent Inc.

Support


All versions of eventstore-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
friendsofouro/http-batch-contract Version ^3.0
friendsofouro/http-batch-implementation Version ^3.0
psr/http-client Version ^1.0
psr/http-client-implementation Version *
psr/http-factory Version ^1.1
psr/http-factory-implementation Version *
psr/http-message Version ^2.0
psr/http-message-implementation Version *
ramsey/uuid Version ^4.9
symfony/property-access Version ^7.3 || ^8.0
symfony/serializer Version ^7.3 || ^8.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 dbellettini/eventstore-client contains the following files

Loading the files please wait ...