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

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

atekushi/facade
===============

Small Library to Implement Facade on DI Container To Your Project

1.0.0(1y ago)04MITPHPPHP ^8.2

Since Jan 14Pushed 1y agoCompare

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

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

What is Facade ?
----------------

[](#what-is-facade-)

Facade acts as a static proxy for accessing underlying objects or services, simplifying interaction with complex subsystems or dependencies.

---

Why Use it ?
------------

[](#why-use-it-)

- **Static Access**: Use static calls to access methods on underlying objects.
- **Dependency Management**: Automatically resolves dependencies using the `atekushi/container` library.
- **Simplified API**: Provides a clean and elegant interface for complex subsystems.

---

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

[](#installation)

Install the library via Composer:

```
  composer require atekushi/facade
```

Usage
-----

[](#usage)

- Create new facade class

Example:

```
include 'vendor/autoload.php';

use Atekushi\Facade\Facade;

class BaseClass {
    public function test(){
        echo "Test"
    }
}

/**
 * @method static void test()
 *
 * @mixin BaseClass
 */
class A extends Facade
{
    protected static function getClassSubject(): string
    {
        return BaseClass::class;
    }
}

A::test()
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance41

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

485d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[magepal/magento2-reindex

Reindex your Magento2 store quickly and easily from backend/admin, instead of command line.

112649.7k1](/packages/magepal-magento2-reindex)[ourcodeworld/name-that-color

A non-official PHP port of the NTC JS library to find out the name of the closest matching color.

37163.5k](/packages/ourcodeworld-name-that-color)[redberry/mcp-client-laravel

Package that enables you access to any mcp server that you define in the config

1345.0k1](/packages/redberry-mcp-client-laravel)[nylle/php-automapper

271.4k](/packages/nylle-php-automapper)

PHPackages © 2026

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