Skip to content

Installation

Every Savannabits plugin is served from the same registry, https://coolsam.privato.pub/composer:

Terminal window
composer config repositories.coolsam composer https://coolsam.privato.pub/composer

This adds the repository to your app’s composer.json:

{
"repositories": {
"coolsam": {
"type": "composer",
"url": "https://coolsam.privato.pub/composer"
}
}
}

Privato uses HTTP basic auth on the registry host. The username is the email address you purchased with and the password is your license key:

Terminal window
composer config --auth http-basic.coolsam.privato.pub "you@example.com" "YOUR-LICENSE-KEY"

This writes an auth.json next to your composer.json. Add --global to store the credentials in Composer’s home directory for every project on the machine instead.

Terminal window
composer require coolsam/filament-chrome

The service provider is auto-discovered.

The plugin ships its CSS (base chrome.css plus one pack per theme) and chrome-nav.js as Filament assets. Publish them with Filament’s asset command — and again after every package update:

Terminal window
php artisan filament:assets

Assets are registered loaded on request: every pack is published, but only panels that register FilamentChromePlugin link them. Other panels in the same app are unaffected.

Add the plugin to a panel provider:

use Coolsam\FilamentChrome\FilamentChromePlugin;
use Filament\Panel;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugin(FilamentChromePlugin::make());
}

With no further configuration the panel uses DefaultTheme (stock Filament look with chrome navigation plumbing), which prefers Side navigation with Static groups.

Continue with Plugin setup for the full fluent API.

Provide the same credentials without committing them through the COMPOSER_AUTH environment variable (a GitHub Actions secret, Laravel Cloud / Forge environment variable, etc.):

Terminal window
export COMPOSER_AUTH='{"http-basic":{"coolsam.privato.pub":{"username":"you@example.com","password":"YOUR-LICENSE-KEY"}}}'
composer install --no-dev --prefer-dist

In GitHub Actions, store the JSON as a secret and expose it to the install step:

- name: Install dependencies
run: composer install --no-interaction --prefer-dist
env:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}

On Laravel Forge you can instead add the credentials under the server’s Composer Package Authentication settings for coolsam.privato.pub.

Licenses include one year of updates. When it ends, Composer can still install every release published during that year, but not later ones. Renew to receive new releases again; your licenses and receipts are in the customer portal.