Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
filament-goatcounter-development
jeffersongoncalves/filament-goatcounter
claude-code
filament
goatcounter
analytics
settings-page
script-injection
plugins

Build and work with the Filament GoatCounter plugin — settings page and script injection in Filament panels.

Install
php artisan boost:add-skill jeffersongoncalves/filament-goatcounter

Save this content to: .claude/skills/filament-goatcounter-development/SKILL.md

# Filament GoatCounter Development

## When to use this skill

- Adding or changing the GoatCounter integration of a Filament panel
- Customizing the GoatCounter settings page
- Debugging a missing GoatCounter script in a panel

## Package Overview

- **Package**: `jeffersongoncalves/filament-goatcounter` (branch `3.x`)
- **Namespace**: `JeffersonGoncalves\Filament\GoatCounter`
- **Dependencies**: `jeffersongoncalves/filament-analytics-core:^3.0`, `jeffersongoncalves/laravel-goatcounter:^1.0`

## Setup

```php
use JeffersonGoncalves\Filament\GoatCounter\GoatCounterPlugin;

$panel->plugins([
    GoatCounterPlugin::make(),                        // settings page + script injection
    // GoatCounterPlugin::make()->settingsPage(false), // script injection only
]);
```

```bash
php artisan vendor:publish --tag=goatcounter-settings-migrations
php artisan migrate
```

## Settings Fields

| Field | Component |
|-------|-----------|
| `code` | TextInput |

## Troubleshooting

- **Script missing**: the settings are incomplete — `app(\JeffersonGoncalves\GoatCounter\Settings\GoatCounterSettings::class)->isConfigured()`.
- **Settings page errors**: the `goatcounter` settings group is missing — publish and run the migrations.

Filament GoatCounter Development

When to use this skill

  • Adding or changing the GoatCounter integration of a Filament panel
  • Customizing the GoatCounter settings page
  • Debugging a missing GoatCounter script in a panel

Package Overview

  • Package: jeffersongoncalves/filament-goatcounter (branch 3.x)
  • Namespace: JeffersonGoncalves\Filament\GoatCounter
  • Dependencies: jeffersongoncalves/filament-analytics-core:^3.0, jeffersongoncalves/laravel-goatcounter:^1.0

Setup

use JeffersonGoncalves\Filament\GoatCounter\GoatCounterPlugin;

$panel->plugins([
    GoatCounterPlugin::make(),                        // settings page + script injection
    // GoatCounterPlugin::make()->settingsPage(false), // script injection only
]);
php artisan vendor:publish --tag=goatcounter-settings-migrations
php artisan migrate

Settings Fields

Field Component
code TextInput

Troubleshooting

  • Script missing: the settings are incomplete — app(\JeffersonGoncalves\GoatCounter\Settings\GoatCounterSettings::class)->isConfigured().
  • Settings page errors: the goatcounter settings group is missing — publish and run the migrations.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel