b4mtech/laravel-umami

A package to add umami analytics to your laravel application

v2.1.0 2024-03-28 20:19 UTC

This package is auto-updated.

Last update: 2024-04-28 20:26:27 UTC


README

alt Laravel Umami Latest Version on Packagist Total Downloads GitHub Actions

Laravel Umami

This packages consist of a larvel component to be used with your own umami analytics server.

Installation

You can install the package via composer:

composer require b4mtech/laravel-umami

Publish Items

You should publish the config using the following command:

php artisan vendor:publish --provider="B4mtech\LaravelUmami\LaravelUmamiServiceProvider" --tag="umami-config"

If you want to customize the blade component:

php artisan vendor:publish --provider="B4mtech\LaravelUmami\LaravelUmamiServiceProvider" --tag="umami-view-component"

Usage

As long as the UMAMI_WEBSITE_ID is set the blade component will be displayed. The following will need to be added inside your head html tags.

@showUmami
<x-laravel-umami::umami />
@endshowUmami

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mark@bandmtechnologies.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.