承接 jeyroik/deprecated-sm-base 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jeyroik/deprecated-sm-base

最新稳定版本:0.4.0

Composer 安装命令:

composer require jeyroik/deprecated-sm-base

包简介

deprecated package

README 文档

README

This package is deprecated!

Do not use it!

extas-m

EXTendable State Machine

Stage flow see here: http://extas.jeyroik.ru (RU lang)

install

composer require jeyroik/extas-m:*

usage

  • define generic plugins
  • define all other plugins
  • define machine config
  • define dispatchers for your states (or you can use built-in dispatchers for test aims)
  • run machine
$config = [...]; // or dsn if you have db generic plugins
$extas = new jeyroik\extas\components\systmes\states\StateMachine($config);
$extas->run();

If you are using State route plugin (by default), you can see states route:

echo '<pre>';
print_r($extas->getRoute());
echo '</pre>';

extending state machine

Extas let you extend it by two dimensions:

  • functionality
  • stages triggering

Stages - they are like events, you can react on stage when it is reached.

Functionality - this is built-in opportunity for extending exactly objects interface without needs to extends them physically by class extending. This is reached by extensions.

plugins

  • create you plugin
  • require it to you project

extensions

  • create extension
  • require it to your project

统计信息

  • 总下载量: 362
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-04-26