spryker/cakephp-statemachine
Composer 安装命令:
composer require spryker/cakephp-statemachine
包简介
CakePHP StateMachine Plugin
README 文档
README
StateMachine engine for CakePHP applications.
This branch is for use with CakePHP 5.0+. 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.
spryker/cakephp-statemachine 适用场景与选型建议
spryker/cakephp-statemachine 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 24.12k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2019 年 04 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 spryker/cakephp-statemachine 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 spryker/cakephp-statemachine 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 24.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2019-04-30