Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Engine Laravel Package

event-engine/php-engine

CQRS/Event Sourcing framework for PHP to rapidly build event-sourced applications and evolve toward richer domain models. Customize architecture and programming style via “Flavours,” with a full tutorial and separate documentation repo.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture Fit

  • Event-Driven Paradigm Alignment: Remains unchanged. The package still aligns well with Laravel’s event system, particularly for complex workflows requiring chaining, priority-based execution, or async handling. No new features in this release affect architectural fit.
  • Microservices/Modular Fit: Unchanged. Still ideal for Laravel-based systems where events are core to architecture.
  • Legacy System Integration: Unchanged. Continues to bridge gaps in older Laravel apps lacking structured event layers.

Integration Feasibility

  • Laravel Compatibility:
    • Pros: Unchanged. Still leverages Laravel’s service container and can coexist with Laravel’s Event facade.
    • Cons:
      • PHP 8.4 Deprecation Note: The release removes PHP 8.4 deprecations, implying the package now explicitly drops PHP 8.4 support (or fixes incompatibilities). This may force Laravel users to upgrade to PHP 8.2/8.3 (Laravel 10/11) if they were previously on PHP 8.4.
      • Naming conflicts and manual setup remain unresolved.
  • PHP Version:
    • Critical Update: The package now requires PHP 8.1–8.3 (explicitly excludes 8.4). Laravel 10+ (PHP 8.2+) and Laravel 9 (PHP 8.1) are compatible, but Laravel 11 (PHP 8.3+) is now the safest choice.
  • Database/Storage: Unchanged. Still assumes external backends for persistence.

Technical Risk

  • Unproven Stability:
    • No new risks, but the lack of PHP 8.4 support may limit adoption in environments stuck on older PHP versions.
    • Last release (Jan 2025) is still recent, but community engagement remains low.
  • Documentation Gaps:
    • No updates. Still lacks Laravel-specific migration guides or examples.
  • Performance Overhead:
    • Unchanged. No new benchmarks or optimizations in this release.
  • Testing:
    • Unchanged. No test suite or Laravel-specific tests added.

Key Questions

  1. Use Case Justification: Unchanged.
  2. Adoption Risk:
    • Updated: With PHP 8.4 dropped, will this force Laravel teams to upgrade PHP? What’s the impact on legacy systems?
    • Is there a roadmap for PHP 8.4+ support, or is this package now "frozen" for older PHP?
  3. Integration Depth: Unchanged.
  4. Operational Trade-offs: Unchanged.
  5. Scaling: Unchanged.

Integration Approach

Stack Fit

  • Laravel Core:
    • PHP Version Constraint: Critical Update:
      • If using Laravel 9 (PHP 8.1), verify compatibility (some PHP 8.2+ features may be used).
      • Laravel 10/11 (PHP 8.2/8.3) are now the recommended targets.
      • Add php:^8.2 to composer.json to enforce version alignment.
    • Service Provider/Facade setup remains unchanged.
  • Queue Integration: Unchanged.
  • Database/Redis: Unchanged.
  • Middleware: Unchanged.

Migration Path

  1. Pilot Phase: Unchanged.
  2. Incremental Replacement: Unchanged.
  3. Queue Migration: Unchanged.
  4. Testing:
    • Updated: Add PHP version checks to CI/CD pipelines to catch incompatibilities early.
    • Test event listeners under PHP 8.2/8.3 to ensure no silent failures.

Compatibility

  • Laravel Versions:
    • Updated: Avoid Laravel 9 (PHP 8.1) if possible due to potential PHP 8.2+ dependencies.
    • Test against Laravel 10/11 for stability.
  • Third-Party Packages: Unchanged.
  • PHP Extensions:
    • Updated: Ensure opcache is enabled (PHP 8.2+ may have stricter requirements).
    • Verify redis/pdo extensions are compatible with PHP 8.2/8.3.

Sequencing

  1. Setup: Unchanged.
  2. Configuration: Unchanged.
  3. Deployment:
    • Updated: Upgrade PHP to 8.2/8.3 before deploying this package.
    • Roll out in stages with PHP version validation in feature flags.
  4. Monitoring: Unchanged.

Operational Impact

Maintenance

  • Dependency Management:
    • Updated: Pin to php-engine/v0.17.1 in composer.json and enforce PHP 8.2/8.3 via:
      "config": {
        "platform": {
          "php": "8.2"
        }
      }
      
    • Monitor for future PHP version drops.
  • Custom Code: Unchanged.
  • Upgrades:
    • Updated: Plan for PHP upgrades if the package drops support for older versions in future releases.

Support

  • Debugging: Unchanged.
  • Error Handling: Unchanged.
  • Vendor Lock-in: Unchanged.

Scaling

  • Horizontal Scaling: Unchanged.
  • Performance:
    • Updated: Benchmark under PHP 8.2/8.3 to ensure no regressions from PHP version changes.
  • Resource Usage: Unchanged.

Failure Modes

  • Event Loss: Unchanged.
  • Priority Deadlocks: Unchanged.
  • Listener Failures: Unchanged.
  • Configuration Drift:
    • Updated: Document PHP version requirements in runbooks to avoid deployment issues.

Ramp-Up

  • Onboarding:
    • Updated: Add a PHP version compatibility checklist to onboarding docs.
    • Example:

      "This package requires PHP 8.2+. If your Laravel app uses PHP 8.1, upgrade to Laravel 10+ (PHP 8.2) or later."

  • Skill Gap:
    • Train teams on PHP 8.2/8.3 features (e.g., typed properties, enums) if they’re new to the version.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
headercat/phpstan-extension-ide-helper
yosymfony/parser-utils
innmind/black-box
babenkoivan/elastic-migrations
babenkoivan/elastic-adapter
sandermuller/package-boost-php
sandermuller/boost-core
depa/sulu-google-reviews-bundle
croct/plug-symfony
develia/commons
dmstr/symfony-system-resources-bundle
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
renatomarinho/laravel-page-speed
develia/geo-bundle
austinheap/laravel-database-encryption
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
imbo/imbo-coding-standard