PHPackages                             c6digital/laravel-plausible - 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. [API Development](/categories/api)
4. /
5. c6digital/laravel-plausible

ActiveLibrary[API Development](/categories/api)

c6digital/laravel-plausible
===========================

Send server-side events from Laravel to Plausible.

v2.0.0(8mo ago)11.4k↓43.8%[4 PRs](https://github.com/c6digital/laravel-plausible/pulls)MITPHPPHP ^8.2CI passing

Since Dec 11Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/c6digital/laravel-plausible)[ Packagist](https://packagist.org/packages/c6digital/laravel-plausible)[ Docs](https://github.com/c6digital/laravel-plausible)[ RSS](/packages/c6digital-laravel-plausible/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (14)Versions (8)Used By (0)

Send server-side events from Laravel to Plausible.
==================================================

[](#send-server-side-events-from-laravel-to-plausible)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c11d6dbd8cdf3f436fc643cb738578459a7d0aba827e535a4f84219bf4a83bd1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63366469676974616c2f6c61726176656c2d706c61757369626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/c6digital/laravel-plausible)[![GitHub Tests Action Status](https://camo.githubusercontent.com/22b5cc782885af0efad2fb38bf3d3e50b84a430e46580b1292a278f4ae047bee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f63366469676974616c2f6c61726176656c2d706c61757369626c652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/c6digital/laravel-plausible/actions/workflows/run-tests.yml?query=branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/89a79dad1505051665049f15b2dc5db2820a46220bac0b4ff5f29060cc827c05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f63366469676974616c2f6c61726176656c2d706c61757369626c652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/c6digital/laravel-plausible/actions/workflows/fix-php-code-style-issues.yml?query=branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/517c058a5d1a1c51491b1344bec7909ca53c780426758d515588feca4dab8445/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63366469676974616c2f6c61726176656c2d706c61757369626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/c6digital/laravel-plausible)

This package provides a small wrapper for the Plausible "Events" API that makes it easy to send custom server-side events to Plausible.

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

[](#installation)

You can install the package via Composer:

```
composer require c6digital/laravel-plausible
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-plausible-config"
```

Usage
-----

[](#usage)

Add your Plausible domain to your `.env` file.

```
PLAUSIBLE_DOMAIN=
```

> The domain is the name you gave your site when creating it inside of Plausible.

Use the `C6Digital\Plausible\Facades\Plausible` facade to start sending events.

```
Plausible::event(name: 'my-event-name', props: []);
```

If you prefer to use dependency injection, you can use the `C6Digital\Plausible\Plausible` class and inject it into your controllers, jobs, etc.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Ryan Chandler](https://github.com/c6digital)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance74

Regular maintenance activity

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

3

Last Release

261d ago

Major Versions

v1.1.0 → v2.0.02025-10-16

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/568d485d441c691b0358b9091254a6a671fef8f76b73f28af1180ad568d142b2?d=identicon)[ryangjchandler](/maintainers/ryangjchandler)

---

Top Contributors

[![c6andy](https://avatars.githubusercontent.com/u/213634680?v=4)](https://github.com/c6andy "c6andy (9 commits)")[![ryangjchandler](https://avatars.githubusercontent.com/u/41837763?v=4)](https://github.com/ryangjchandler "ryangjchandler (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

laravellaravel-plausibleC6 Digital

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/c6digital-laravel-plausible/health.svg)

```
[![Health](https://phpackages.com/badges/c6digital-laravel-plausible/health.svg)](https://phpackages.com/packages/c6digital-laravel-plausible)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.8k3](/packages/defstudio-telegraph)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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