hidenari/helper-sample
最新稳定版本:v1.6.3
Composer 安装命令:
composer require hidenari/helper-sample
包简介
helper function sample
README 文档
README
fizzbuzz function Sample on php version 8.3 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.
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-03