dvlpr1996/php-enum-helper-trait 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

dvlpr1996/php-enum-helper-trait

最新稳定版本:v0.2.0

Composer 安装命令:

composer require dvlpr1996/php-enum-helper-trait

包简介

Simplify enum handling in PHP with this versatile trait. Enhance code clarity and streamline workflows with utility methods for enum management.

README 文档

README

License: MIT Latest Version on Packagist Total Downloads

This package provides a trait designed to simplify and enhance the functionality of enums in PHP applications. It offers utility methods and features that make working with enums more intuitive and efficient, ideal for developers looking to streamline their enum handling in PHP applications.

Requirements

  • PHP 8.1 or higher

Install

You can install the package via composer:

composer require dvlpr1996/php-enum-helper-trait

Usage

use dvlpr1996\PhpEnumHelperTrait\EnumHelperTrait;

enum Foo: string {
	use EnumHelperTrait;

	// Your Additional Cases, Methods And Properties...
}

Documentation

See the documentation for detailed installation and usage instructions.

Changelog

Please see CHANGELOG for more information what has changed recently.

issues

If you discover any issues, please using the issue tracker.

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-28