Download the PHP package mr-luke/framekit without Composer
On this page you can find all versions of the php package mr-luke/framekit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mr-luke/framekit
More information about mr-luke/framekit
Files in mr-luke/framekit
Package framekit
Short Description Event Sourcing package
License
Informations about the package framekit
Framekit
Getting Started
Framekit is Laravel package built to speed up DDD modeling with EventSourcing. It implements
CQRS architecture. This version will be replaced by 2.0.0
where some concepts will be re-written.
Installation
To install through composer, simply put the following in your composer.json file and run composer update
Or use the following command
Configuration
To use Framekit
we need to set up some env
variables. To see all of them just run command:
Base Components
\Framekit\AggregateRoot
It's main build up component. Due to DDD building blocks it's our root or Model tree. The heart of an aggregate is our Entity model.
\Framekit\State
This is our Entity abstract, we call it State.
\Framekit\Event
Every Aggregate uses Events as state flow control blocks.
\Framekit\Projection
Since we work with CQRS, it's an instruction how to decompose our model to Query side model.
\Framekit\Retrospection
EventSourcing gives us an ability to walk along the stream to make a retrospection of Events.
There are many more elements to explore...
All versions of framekit with dependencies
ext-json Version *
laravel/framework Version ^10.0|^9.0|^8.0
mr-luke/configuration Version ^1.0
nesbot/carbon Version ^2.61
mr-luke/bus Version ^1.0