b4mtech / laravel-umami
A package to add umami analytics to your laravel application
Installs: 2 164
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8.1|^8.2|^8.3
- illuminate/support: ^9.0|^10.0|^11.0|^12.0
- illuminate/view: ^9.0|^10.0|^11.0|^12.0
Requires (Dev)
- gajus/dindent: ^2.0
- orchestra/testbench: ^7.0|^8.0|^9.0|^10.0
- phpunit/phpunit: ^9.0|^10.0|^11.0
README
 [](https://packagist.org/packages/b4mtech/laravel-umami) [](https://packagist.org/packages/b4mtech/laravel-umami)  # Laravel Umami This packages consist of a larvel component to be used with your own [umami](https://umami.is/) analytics server. ## Installation You can install the package via composer: ```bash composer require b4mtech/laravel-umami ``` ## Publish Items You should publish the config using the following command: ```bash php artisan vendor:publish --provider="B4mtech\LaravelUmami\LaravelUmamiServiceProvider" --tag="umami-config" ``` If you want to customize the blade component: ```bash 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. ```php @showUmami <x-laravel-umami::umami /> @endshowUmami ``` ### Changelog Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. ## Contributing Please see [CONTRIBUTING](CONTRIBUTING.md) for details. ### Security If you discover any security related issues, please email mark@bandmtechnologies.com instead of using the issue tracker. ## Credits - [Mark Myers](https://github.com/b4mtech) - [All Contributors](../../contributors) ## License The MIT License (MIT). Please see [License File](LICENSE.md) for more information. ## Laravel Package Boilerplate This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).