Download the PHP package chocofamilyme/laravel-eventsauce without Composer

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

LaravelEventSauce

Laravel adapter for EventSauce. Before using this package you should already know how to work with EventSauce.

Latest Stable Version Total Downloads License

Requirements

Installation

Via Composer

Migrations

You can publish and modify default migrations tables (domain_messages, snapshots) with the following command:

Configuration

You can publish the config file with the following command:

Code Generation

Types, commands and events can be generated starting from a yaml file. Here you can specify the input and the output of the code generation. More info on code generation here: https://eventsauce.io/docs/getting-started/create-events-and-commands

Default Connection

The default database connection can be modified by setting the EVENTSAUCE_CONNECTION env variable:

Default Message Table

The default table name for your domain messages can be set with the EVENTSAUCE_TABLE env variable:

Default Snapshot Table

The default table name used to store snapshots can be set with the EVENTSAUCE_SNAPSHOT_TABLE env variable:

Default Message Repository

This class will be used to store messages. You may change this to any class that implements EventSauce\EventSourcing\MessageRepository , by default used Chocofamily\LaravelEventSauce\MessageRepository::class

Default Snapshot Repository

This class will be used to store snapshots. You may change this to any class that implements EventSauce\EventSourcing\Snapshotting\SnapshotRepository , by default used Chocofamily\LaravelEventSauce\SnapshotRepository::class

Default Consumer Handler

This class will be used to put message on the handlers, by default used Chocofamily\LaravelEventSauce\ConsumerHandler::class

Usage

TODO

License

license. Please see the license file for more information.


All versions of laravel-eventsauce with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
ext-json Version *
eventsauce/eventsauce Version ^0.8.0
illuminate/bus Version ^5.7|^5.8|^6.0
illuminate/container Version ^5.7|^5.8|^6.0
illuminate/queue Version ^5.7|^5.8|^6.0
illuminate/support Version ^5.7|^5.8|^6.0
ramsey/uuid Version ^3.8
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 chocofamilyme/laravel-eventsauce contains the following files

Loading the files please wait ....