Download the PHP package spriebsch/longbow without Composer

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

Longbow

Aim high and shoot far with Longbow, the PHP 8.5 event framework.

Longbow 7 uses Domain Event for event definitions and Sequora for persistence.

Domain events

Events are readonly data objects. Topics and correlation identifiers are declared with attributes:

Generate the topic map with Domain Event's generate-topic-map command and return its file from the application configuration.

Configuration

Application configuration implements spriebsch\longbow\LongbowConfiguration and supplies:

Configure Longbow with the application factory:

Command handlers persist their returned events through spriebsch\sequora\EventWriter:

Event streams

Streams extend Longbow's query-focused base class and define Sequora topics:

Processors implement EventStreamProcessor and return an EventStreamProcessorId. Longbow reads Sequora envelopes, passes their domain events to processor methods, and stores the envelope event ID as the processor position.

When a processor fails, Longbow leaves its successful position unchanged and persists the failed event ID, timestamp, exception class, and exception message. Applications can use Longbow::processorFailures() to distinguish a processor that has not started from one that failed. A successful retry clears the persisted failure.

Upgrading

Longbow 7 is a breaking release. It requires PHP 8.5 and does not migrate databases created by spriebsch/eventstore; start with a fresh Sequora schema or migrate existing event data with an application-specific migration.

(c) Stefan Priebsch.


All versions of longbow with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
ext-sqlite3 Version *
spriebsch/di Version ^2.1
spriebsch/domain-event Version ^2.1
spriebsch/filesystem Version ^1.0
spriebsch/sequora Version ^1.3
spriebsch/sqlite Version ^2.1
spriebsch/timestamp Version ^1.1
ext-posix Version *
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 spriebsch/longbow contains the following files

Loading the files please wait ...