PHPackages                             shindakioku/overload - 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. shindakioku/overload

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

shindakioku/overload
====================

Package for overload in php

1.0.0(8y ago)07MITPHP

Since Jul 3Pushed 8y agoCompare

[ Source](https://github.com/shindakioku/overload)[ Packagist](https://packagist.org/packages/shindakioku/overload)[ RSS](/packages/shindakioku-overload/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

### Класс который делает немного магии

[](#класс-который-делает-немного-магии)

Класс позволяет Вам использовать перегрузку методов (ad hoc) на 40%.

Почему 40? В пхп не разрешено объявлять методы с одинаковыми именами.

Использование класса:

```
class Bar {}

class Foo
{
    public function withoutArguments(): string
    {
        return 'string';
    }

    public function argument1(string $name): string
    {
        return $name;
    }

    public function argument2(int $number): int
    {
        return $number;
    }

    public function withObject(Bar $bar): Bar
    {
        return $bar;
    }
}

$overload = new Overload\Overload(
    new Overload\OverloadClass(Foo::class), 'argument1', 'argument2'
);

$overload->call('shinda'); // argument1
$overload->call(2); // argument2

$bar = (new Overload\Overload(
    new Overload\OverloadClass(Foo::class), 'withObject'
))->call(new Bar); // $bar = Bar object;

(new Overload\Overload(
        new Overload\OverloadClass(Foo::class), 'withoutArguments'
    ))->call(); // 'string'
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff443f8315acf296da7109bc6d20e2ede79ae151cedce84c16df9c400c914818?d=identicon)[Shinda Kioku](/maintainers/Shinda%20Kioku)

---

Top Contributors

[![shindakioku](https://avatars.githubusercontent.com/u/28839051?v=4)](https://github.com/shindakioku "shindakioku (4 commits)")

### Embed Badge

![Health badge](/badges/shindakioku-overload/health.svg)

```
[![Health](https://phpackages.com/badges/shindakioku-overload/health.svg)](https://phpackages.com/packages/shindakioku-overload)
```

###  Alternatives

[ramsey/devtools

A Composer plugin to aid PHP library and application development.

7134.7k26](/packages/ramsey-devtools)[jimbojsb/workman

PHP process forking &amp; daemonizing library

608.8k](/packages/jimbojsb-workman)

PHPackages © 2026

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