承接 mr-luke/framekit 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mr-luke/framekit

最新稳定版本:2.0.0-rc.3

Composer 安装命令:

composer require mr-luke/framekit

包简介

Event Sourcing package

README 文档

README

Latest Stable Version Total Downloads License

Tests Workflow Quality Gate Status Security Rating Reliability Rating

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

{
    "require": {
        "mr-luke/framekit": "~1.0"
    }
}

Or use the following command

composer require "mr-luke/framekit"

Configuration

To use Framekit we need to set up some env variables. To see all of them just run command:

php artisan vendor:publish

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...

统计信息

  • 总下载量: 4.98k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2019-04-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固