PHPackages                             zeus/facade - 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. zeus/facade

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

zeus/facade
===========

the facade and container

v1.0.0(1y ago)04MITPHP

Since Mar 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/diloabininyeri/facade)[ Packagist](https://packagist.org/packages/zeus/facade)[ RSS](/packages/zeus-facade/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

### Facade and container

[](#facade-and-container)

An advanced container and facade architecture, The aim is to automatically bind dependency injections.

to install

```
composer require zeus/facade
```

The short code for the using of the following

```
use Zeus\Facade\AbstractFacade;
use Zeus\Facade\Container;

require_once 'vendor/autoload.php';

class Login extends AbstractFacade
{
    public static function getFacade(): string
    {
        return 'login';
    }
}

$container = new Container();
AbstractFacade::setContainer($container);

$container->bind(LoginServiceInterface::class, LoginService::class);
$container->bind('login', LoginController::class);

echo Login::login('john_doe', 'password123') . PHP_EOL; // "Login successful for john_doe at 2025-03-28 14:30:45"
```

The fake

```
use \Zeus\Facade\Tests\stubs\Http;

Http::fake('get',function (){
    return 'fake';
})

echo Http::get(); //fake
```

or middleware

```
Http::middleware(function (string $method,array $parameters,Closure $next){
    return $next($method,$parameters);
});
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance46

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

415d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

containerdependenciesdependency-injectionfacadefacade-patternioc-container

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zeus-facade/health.svg)

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

###  Alternatives

[bluebaytravel/dosh

Simple currency formatter for PHP.

2120.8k](/packages/bluebaytravel-dosh)

PHPackages © 2026

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