PHPackages                             sahil-gulati/overloading - 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. sahil-gulati/overloading

ActiveLibrary

sahil-gulati/overloading
========================

PHP overloading

1.0.0(9y ago)317PHPPHP &gt;=5.3

Since Sep 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Sahil-Gulati/Overloading)[ Packagist](https://packagist.org/packages/sahil-gulati/overloading)[ RSS](/packages/sahil-gulati-overloading/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Overloading
===========

[](#overloading)

This is an introductory framework to support PHP Overloading through closures. Multiple functions can be defined with the same name with the help of closures. Every function and its implementation undergoes different validation methods. A complete basis usage examples is shared in this documentation.

Installation
------------

[](#installation)

`composer require sahil-gulati/overloading`

##### OR

[](#or)

Create composer.json in your project directory

```
{
    "require":{
        "sahil-gulati/overloading":"1.0.0"
    }
}
```

`composer install`

Usage
-----

[](#usage)

```
