PHPackages                             sabith/stackcue-zat2-laravel - 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. sabith/stackcue-zat2-laravel

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

sabith/stackcue-zat2-laravel
============================

1.3(1y ago)09Blade

Since Jan 7Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/kpsabithgit/stackcue-zat2-laravel)[ Packagist](https://packagist.org/packages/sabith/stackcue-zat2-laravel)[ RSS](/packages/sabith-stackcue-zat2-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

```
For laravel 11
add below in bootstrap/app.php

    ->withProviders([
        App\Providers\AppServiceProvider::class,

    ])->create();

For main laravel application service provider under boot method add below

$this->app->make('stackcue-zat2')->setSaasCompanyIdCallback(function () {
    $saas_company_id = 1; // Replace this with dynamic logic (e.g., database query)

    return $saas_company_id;
});

$this->app->make('stackcue-zat2')->setUserIDCallback(function () {
    $user_id = 1; // Replace this with dynamic logic (e.g., database query)

    return $user_id;
});

the value will available anywhere in application including library

$company_id = app('stackcue-zat2')->getSaasCompanyId(); and
$user_id = app('stackcue-zat2')->getuserID();
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance63

Regular maintenance activity

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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 ~21 days

Total

4

Last Release

425d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sabith-stackcue-zat2-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/sabith-stackcue-zat2-laravel/health.svg)](https://phpackages.com/packages/sabith-stackcue-zat2-laravel)
```

PHPackages © 2026

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