streak / streak
dev-master / 1.0.x-dev
2025-04-16 23:22 UTC
Requires
- php: >=8.0
- ext-igbinary: *
- ext-json: *
- ext-pdo: *
- ext-redis: *
- doctrine/dbal: ^2.13
- psr/log: ^1.1
- ramsey/uuid: ^4.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- php-amqplib/rabbitmq-bundle: ^2.6.0
- phpunit/phpunit: ^9.5.4
- qossmic/deptrac-shim: ^0.13.0
- rector/rector: 0.12.18
- roave/security-advisories: dev-latest
- dev-master / 1.0.x-dev
- dev-dependabot/composer/rector/rector-2.3.6
- dev-docs
- dev-message-handlers-enhancements
- dev-split-subscribers
- dev-static-analysis
- dev-phpstorm-settings
- dev-deptrac-listener-refactoring
- dev-subscription-filtering
- dev-psalm
- dev-transaction-cleanup
- dev-uuid-factories
- dev-json-serializer
- dev-uuid-enhancements
- dev-scheduler
This package is auto-updated.
Last update: 2026-03-09 03:05:32 UTC
README
Streak PHP - Event Sourcing Framework
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.
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:
composer require streak/streak
For Symfony integration, install the Streak Bundle:
composer require streak/streak-bundle
Documentation
Comprehensive documentation is available in the docs directory:
Development
Requirements
- PHP 8.0+
- Docker and Docker Compose
Running locally
Clone the repository:
git clone https://github.com/streakphp/streak.git
cd streak
Start the development environment:
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.
