2017 © Pedro Peláez
 

library streak

image

streak/streak

  • Friday, July 27, 2018
  • by alanbem
  • Repository
  • 5 Watchers
  • 5 Stars
  • 1,161 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 4 Open issues
  • 9 Versions
  • 21 % Grown

The README.md

Streak, (*1)

Streak PHP - Event Sourcing Framework

CI codecov, (*2)

Streak is a PHP framework designed for building applications using the Event Sourcing pattern. It provides a robust foundation for creating event-sourced, domain-driven applications with a focus on flexibility and testability., (*3)

Features

  • Event Sourcing - Persistent event store with support for various storage backends
  • Command Handling - Type-safe command processing with built-in validation
  • Subscriptions - Reliable event delivery system with support for resuming, restarting, and pausing
  • Projections - Tools for building read models optimized for querying
  • Saga & Process Management - Support for long-running business processes across multiple aggregates

Installation

Install via Composer:, (*4)

composer require streak/streak

For Symfony integration, install the Streak Bundle:, (*5)

composer require streak/streak-bundle

Documentation

Comprehensive documentation is available in the docs directory:, (*6)

Development

Requirements

  • PHP 8.0+
  • Docker and Docker Compose

Running locally

Clone the repository:, (*7)

git clone https://github.com/streakphp/streak.git
cd streak

Start the development environment:, (*8)

docker-compose up --detach --build

Running tests and checks

# Validate composer.json
docker compose run --rm --no-deps php composer validate --strict --no-interaction --ansi

# Install dependencies
docker compose run --rm --no-deps php composer install --no-scripts --no-interaction --ansi

# Run tests with coverage
docker compose run --rm --no-deps php xphp -dxdebug.mode=coverage bin/phpunit --color=always --configuration=phpunit.xml.dist

# Run tests without coverage
docker compose run --rm --no-deps php bin/phpunit

# Check code quality
docker compose run --rm --no-deps php bin/rector --dry-run --ansi
docker compose run --rm --no-deps php bin/deptrac --no-interaction --cache-file=./build/.deptrac/.deptrac.cache --ansi
docker compose run --rm --no-deps php bin/php-cs-fixer fix --diff --dry-run --ansi --config=.php-cs-fixer.dist.php

License

Streak is open-sourced software licensed under the MIT license., (*9)

The Versions

27/07 2018

dev-master

9999999-dev https://streakphp.com

  Sources   Download

MIT

The Requires

 

The Development Requires

command command bus event cqrs es command query responsibility segregation event sourcing

27/07 2018

dev-fix-uuid

dev-fix-uuid https://streakphp.com

  Sources   Download

MIT

The Requires

 

The Development Requires

command command bus event cqrs es command query responsibility segregation event sourcing

26/07 2018

dev-uuid-enhancements

dev-uuid-enhancements https://streakphp.com

  Sources   Download

MIT

The Requires

 

The Development Requires

command command bus event cqrs es command query responsibility segregation event sourcing

22/03 2018

dev-scheduler

dev-scheduler https://streakphp.com

  Sources   Download

MIT

The Requires

  • php >=7.1
  • ext-uuid *

 

The Development Requires

command command bus event cqrs es command query responsibility segregation event sourcing

22/03 2018

dev-subscriptions-enhancement

dev-subscriptions-enhancement https://streakphp.com

  Sources   Download

MIT

The Requires

  • php >=7.1
  • ext-uuid *

 

The Development Requires

command command bus event cqrs es command query responsibility segregation event sourcing

22/03 2018

dev-event-store-and-stream-fixes-1

dev-event-store-and-stream-fixes-1 https://streakphp.com

  Sources   Download

MIT

The Requires

  • php >=7.1
  • ext-uuid *

 

The Development Requires

command command bus event cqrs es command query responsibility segregation event sourcing

21/02 2018

dev-converter-fix

dev-converter-fix https://streakphp.com

  Sources   Download

MIT

The Requires

  • php >=7.1
  • ext-uuid *

 

The Development Requires

command command bus event cqrs es command query responsibility segregation event sourcing

02/02 2018

dev-event-store

dev-event-store https://streakphp.com

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

command command bus event cqrs es command query responsibility segregation event sourcing

23/01 2018

dev-drop-messaging

dev-drop-messaging https://streakphp.com

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

command command bus event cqrs es command query responsibility segregation event sourcing