Ctrl K
ComunidadGuías…
GITHUB · ANALIZADO

laravel-metrics-plausible

Laravel package to interact with the Plausible Analytics Stats API v2. Fetches visitors, pageviews, sources, countries, devices, goals and real-time metrics.

Ficha actualizada 23 sept 2026, 2:27 · upstream 23 sept 2026, 2:00 · release v1.0.0

Ver códigoProblemas y ayudaRepositorio ↗Sitio oficial
00

Qué es laravel-metrics-plausible

Descripción editorial construida a partir del repositorio, su documentación y sus señales de mantenimiento.

This is a Laravel package that provides a fluent interface for querying data from the Plausible Analytics Stats API v2. It supports fetching aggregate statistics (visitors, visits, pageviews, bounce rate), time-series data with various date ranges, breakdowns by dimensions such as pages, sources, countries, devices and goals. The package also includes real-time visitor counting and a query builder that maps directly to the Plausible Stats API v2 payload structure. All settings are managed through Laravel Settings facade without requiring configuration files.

CASOS DE USO
  • Monitor daily visitors and pageviews for your website over time
  • Analyze traffic sources (organic, paid, social) with UTM tracking support
  • Understand geographic distribution of visitors by country or region
  • Track device types (desktop, mobile, tablet) and browser usage patterns
  • Measure conversion goals such as signups, purchases or form submissions
  • Get real-time visitor counts for live monitoring dashboards
PUNTOS DESTACADOS
  • Uses Laravel Settings facade to store API keys securely without config files
  • Supports both Plausible Cloud and self-hosted Community Edition instances
  • Provides fluent query builder with explicit date range, pagination and filtering options
  • Includes comprehensive error handling for authentication failures and rate limiting
  • Offers multiple dimension types including events, acquisition channels, technology and geography
PRECAUCIONES
  • Requires a valid Plausible Analytics API key to function
  • API rate limits may apply depending on the usage plan (free tier has restrictions)
  • No built-in caching layer for time-series data queries without manual implementation
  • Does not include email notification or alerting features out of the box
  • Self-hosted Community Edition requires additional setup beyond basic API key configuration
01

Perfil de infraestructura

Estimación inicial derivada del repositorio y de los servicios detectados.

CPU1 vCPUrecomendación inicial
MEMORIA1 GBRAM estimada
DISCO10 GBalmacenamiento base
COMPLEJIDADlownivel de operación
02

Despliegue detectado

Qué señales reales de instalación hemos encontrado.

Despliegue manual

Install via composer: composer require jeffersongoncalves/laravel-metrics-plausible,Run migrations to create settings table and related tables,Configure environment variables: PLAUSIBLE_API_KEY, PLAUSIBLE_SITE_ID, PLAUSIBLE_BASE_URL,Create API key in Plausible dashboard under Settings → API Keys,Set PLAUSIBLE_BASE_URL to your self-hosted instance if using Community Edition,Use Laravel Settings facade for programmatic updates of settings values,Enable Composer Autoloader and run composer dump-autoload after installation,Configure database connection in .env file with appropriate credentials

—Dockerfile
—Compose
—One-click
03

Stack y dependencias

Componentes inferidos a partir de manifests, configuración y documentación.

FRAMEWORKS
LaravelPHP
SERVICIOS
No detectados
BASES DE DATOS
No detectadas
PUERTOS
No detectados
05

Puede sustituir a

Relaciones detectadas por el análisis del repositorio y su categoría.

06

Experiencia real de la comunidad

Ayuda a contrastar la estimación automática con instalaciones reales.

Todavía no hay datos comunitarios para este proyecto.