Giter Club home page Giter Club logo

cakephp-statemachine's Introduction

CakePHP StateMachine Plugin

CI PHPStan level Latest Stable Version Minimum PHP Version

StateMachine engine for CakePHP applications.

This branch is for use with CakePHP 4.2+. For details see version map.

Features

  • Easy to use and modify
  • Live preview as rendered image
  • Simple admin interface included.

Note: This plugin is a sandbox/showcase for state machines. Use with Caution.

License

License is not open source, but open code.

The plugin is offered are provided free of charge by Spryker Systems GmbH and can be used in any CakePHP project. They are experimental and under the Spryker Sandbox License (see LICENSE file). However, Spryker does not warrant or assume any liability for errors that occur during use. Spryker does not guarantee their full functionality neither does Spryker assume liability for any disadvantages related to the use of the experimental plugin. Spryker does not guarantee any updates, upgrades or similar to the experimental plugin. By installing the experimental plugin, the project agrees to these terms of use. Please check LICENSE every 90 days.

Install

Requirements

StateMachine plugin requires GraphViz. Please check https://graphviz.gitlab.io/download/ in order to install it for your system.

Composer (preferred)

composer require spryker/cakephp-statemachine

Setup

Enable the plugin in your config/bootstrap.php or call

bin/cake plugin load StateMachine

Run migrations:

bin/cake migrations migrate -p StateMachine

Or just copy the migration file into your app src/config/Migrations/, modify if needed, and then run it as part of your app migrations.

Fully tested so far are PostgreSQL and MySQL, but by using the ORM all major databases should be supported.

Usage

Navigate to http://example.local/admin/state-machine to view your currently setup state machines.

See Documentation for more details.

cakephp-statemachine's People

Contributors

dereuromark avatar gechetspr avatar spryker-bot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cakephp-statemachine's Issues

objects or class names for map?

We are currently using

return [
    'Trigger/Foo' => new TriggerFooCommand(),
];

for the stacks

we could also be using

return [
    'Trigger/Foo' => TriggerFooCommand::class,
];

and use lazy instantiation where needed to optimize this?

Idea - Possibility of parallel operation?

Idea - Possibility of parallel operation?

Hello,

I'd a quick look at your

As I understand that this automaton performs sequential processing.

This all sounds very good.

Question

  • Is there, or will there be, a way to model processing, not sequential but parallel?

I have not seen this type of behavior example.

Have I misread, or misunderstood?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.