定制 fer-projekt/laravel-state-machine 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

fer-projekt/laravel-state-machine

Composer 安装命令:

composer require fer-projekt/laravel-state-machine

包简介

Helpes your control your state using enums.

README 文档

README

This package simplify controlling the transition between model states, allowing you to prevent unlogically transition and also controlling the initial state of the model using the PHP enums.

Each enum allows you to define your states, the allowed transitions and the initial state, all in one place.

Installation

You can install the package via composer:

composer require fer-projekt/laravel-state-machine

Usage

Development

Clone the package from the github:

git clone https://github.com/fer-projekt/laravel-state-machine.git

cd laravel-state-machine

Starting & stopping docker

docker-compose up -d
docker-compose down

Install dependencies via composer and testing:

docker-compose exec app bash
composer update
phpunit

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-25