hidenari/helper-sample 问题修复 & 功能扩展

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

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

hidenari/helper-sample

最新稳定版本:v1.6.4

Composer 安装命令:

composer require hidenari/helper-sample

包简介

helper function sample

README 文档

README

fizzbuzz function Sample on php version 8.5 or later.

about this package

function fizzbuzz(number)

When given a number, it returns string or number depending on the condition.

Conditions

  • If divisible by 3, it returns “fizz”.

  • If divisible by 5, it returns “buzz”.

  • Extends - If divisible by 30, it returns uppercase words.

Update Rules

When updating, execute the following command.

herd coverage ./vendor/bin/pest --coverage
./vendor/bin/pest
./vendor/bin/pint
./vendor/bin/phpstan analyse src --level=10

License

This utility is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-03