PHPackages                             sudobee/cygnus - 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. sudobee/cygnus

ActiveLibrary

sudobee/cygnus
==============

212PHP

Since Apr 17Pushed 3y ago2 watchersCompare

[ Source](https://github.com/sudobeecom/cygnus)[ Packagist](https://packagist.org/packages/sudobee/cygnus)[ RSS](/packages/sudobee-cygnus/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Cygnus
======

[](#cygnus)

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

[](#installation)

1. Clone into project

```
git clone git@github.com:sudobeecom/cygnus.git
```

2. Add repository to project

```
"repositories": [
    {
        "type": "path",
        "url": "./cygnus"
    }
],
```

3. Require new package

```
"require": {
    "sudobee/cygnus": "*"
},
```

4. Update packages using composer

```
composer update
```

5. Publish/re-publish assets

```
rm -rf public/vendor/cygnus
php artisan vendor:publish --tag=cygnus-assets
```

6. Add `app.blade.php`

```
>

    {{ config('app.name', 'Laravel') }}

        :root {
            --cygnus-primary-50: 239 246 255;
            --cygnus-primary-100: 219 234 254;
            --cygnus-primary-200: 191 219 254;
            --cygnus-primary-300: 147 197 253;
            --cygnus-primary-400: 96 165 250;
            --cygnus-primary-500: 59 130 246;
            --cygnus-primary-600: 37 99 235;
            --cygnus-primary-700: 29 78 216;
            --cygnus-primary-800: 30 64 175;
            --cygnus-primary-900: 30 58 138;
        }

    @inertia

```

7. Add to AppServiceProvider boot() method

```
Inertia::share([
    "baseUrl" => fn() => URL::to("/"),
    "applicationName" => fn() => env("APP_NAME"),
    "notification" => fn() => Notification::getAndClear(),
    "resetFormIdentifier" => fn() => Session::get(
        "resetFormIdentifier"
    ),
    "csrfToken" => fn() => csrf_token(),
]);
```

8. Add to HandleInertiaRequests share() method

```
/** @var User|null $user */
$user = auth()->check() ? auth()->user() : null;

return array_merge(parent::share($request), [
    "user" => $user?->only("email", "name"),
    "balance" => null,
]);
```

9. Add to RouteServiceProvider getHomepage() method

```
public static function getHomepage(): string
{
    return self::HOME;
}
```

Update
------

[](#update)

Run inside your project directory:

```
git submodule update --remote --merge
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity28

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sudobee-cygnus/health.svg)

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

PHPackages © 2026

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