PHPackages                             hidenari/helper-sample - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hidenari/helper-sample

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hidenari/helper-sample
======================

helper function sample

v1.6.4(3mo ago)128MITPHPPHP ^8.5

Since Dec 3Pushed 3mo agoCompare

[ Source](https://github.com/hide-nari/helper-sample-php)[ Packagist](https://packagist.org/packages/hidenari/helper-sample)[ RSS](/packages/hidenari-helper-sample/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (11)Used By (0)

fizzbuzz function Sample on php version 8.5 or later.

about this package
==================

[](#about-this-package)

function fizzbuzz(number)
-------------------------

[](#function-fizzbuzznumber)

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

[](#when-given-a-number-it-returns-string-or-number-depending-on-the-condition)

#### Conditions

[](#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
------------

[](#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
-------

[](#license)

This utility is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance80

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Recently: every ~14 days

Total

10

Last Release

109d ago

PHP version history (3 changes)v1.6.1PHP 8.3

v1.6.2PHP ^8.3

v1.6.3PHP ^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/e09dfda67fc40c5e368cc7fea4b1f8b11ff25d0d0fb58cbd6b23f4d84171b4c7?d=identicon)[hidenari](/maintainers/hidenari)

---

Top Contributors

[![hide-nari](https://avatars.githubusercontent.com/u/41144121?v=4)](https://github.com/hide-nari "hide-nari (74 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/hidenari-helper-sample/health.svg)

```
[![Health](https://phpackages.com/badges/hidenari-helper-sample/health.svg)](https://phpackages.com/packages/hidenari-helper-sample)
```

###  Alternatives

[moltin/laravel-cart

Shopping cart package

27624.9k](/packages/moltin-laravel-cart)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
