Download the PHP package tarfin-labs/event-machine without Composer

On this page you can find all versions of the php package tarfin-labs/event-machine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package event-machine

[![Latest Version on Packagist](https://img.shields.io/packagist/v/tarfin-labs/event-machine.svg?style=flat-square)](https://packagist.org/packages/tarfin-labs/event-machine) [![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/tarfin-labs/event-machine/ci.yml?branch=main&label=tests&style=flat-square)](https://github.com/tarfin-labs/event-machine/actions?query=workflow%3ACI+branch%3Amain) [![Total Downloads](https://img.shields.io/packagist/dt/tarfin-labs/event-machine.svg?style=flat-square)](https://packagist.org/packages/tarfin-labs/event-machine) **Event-driven state machines for Laravel** [Documentation](https://eventmachine.dev) · [Installation](#installation) · [Why EventMachine?](#why-eventmachine)

Why EventMachine?

Your business logic deserves better than nested if-statements.

EventMachine brings the power of finite state machines to Laravel, inspired by XState. Define your states, transitions, and behaviors declaratively - and let the machine handle the complexity.

The Problem

The Solution

Key Benefits

Feature Description
Event Sourced Every transition persisted. Full audit trail. Replay history.
Behaviors Guards validate, calculators compute, actions execute.
Parallel Dispatch True parallel execution via Laravel queues. 5s + 2s = 5s, not 7s.
Testable Fake any behavior. Assert states. Verify transitions.
Type-Safe Context Spatie Data powered. Validated. IDE autocompletion.
Archival Compress millions of events. Restore any machine instantly.
Laravel Native Eloquent, DI, Artisan commands. Built for Laravel.

Installation

AI Agent Skill

EventMachine ships with an official Agent Skill so AI coding agents can write correct, idiomatic EventMachine code — it loads naming conventions, best practices, testing patterns, and the full VitePress documentation on demand.

Install via npx skills — works with 45+ agents including Claude Code, Cursor, GitHub Copilot, Cline, Codex, OpenCode, Gemini CLI, Warp, Amp, and many others:

The CLI detects your installed agents and wires the skill into the right location. The plugin-dist branch is a self-contained, materialized snapshot published automatically on every release tag.

What the skill loads:

Read the full skill guide at eventmachine.dev/getting-started/agent-skill.

Support Policy

Only the latest major version (currently v7) receives bug fixes and security patches. All previous versions are end of life. See the Upgrading Guide for step-by-step migration from any version.

Eloquent Integration

Documentation

For guards, actions, calculators, hierarchical states, parallel dispatch, validation, testing, and more:

Read the Documentation →

Credits

License

MIT License. See LICENSE for details.


All versions of event-machine with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3|^8.4|^8.5
ext-zlib Version *
illuminate/contracts Version ^11.0.8|^12.0|^13.0
nikic/php-parser Version ^5.4
spatie/laravel-data Version ^4.13.0
spatie/laravel-package-tools Version ^1.14.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tarfin-labs/event-machine contains the following files

Loading the files please wait ...