Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robbrazier/laravel_piwik
An Interface to Piwik's Analytics API for Laravel (Composer Package).
https://github.com/robbrazier/laravel_piwik
analytics laravel matomo php piwik piwik-analytics-api
Last synced: 8 days ago
JSON representation
An Interface to Piwik's Analytics API for Laravel (Composer Package).
- Host: GitHub
- URL: https://github.com/robbrazier/laravel_piwik
- Owner: RobBrazier
- License: mit
- Created: 2013-01-16T21:13:26.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-09-02T21:50:03.000Z (2 months ago)
- Last Synced: 2024-10-11T12:49:28.443Z (27 days ago)
- Topics: analytics, laravel, matomo, php, piwik, piwik-analytics-api
- Language: PHP
- Homepage: https://docs.robbrazier.com/Laravel_Piwik/
- Size: 4.89 MB
- Stars: 110
- Watchers: 9
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Support: docs/supported-modules/APIModule.md
Awesome Lists containing this project
README
# Laravel-Piwik v4.2.0
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/RobBrazier/Laravel_Piwik/build.yaml?style=flat-square&branch=master)](https://github.com/RobBrazier/Laravel_Piwik/actions)
[![Codacy grade](https://img.shields.io/codacy/grade/6e05c91a199a4ffbb2723cec35e57019?style=flat-square)](https://app.codacy.com/gh/RobBrazier/Laravel_Piwik)
[![Codacy coverage](https://img.shields.io/codacy/coverage/6e05c91a199a4ffbb2723cec35e57019?style=flat-square)](hhttps://app.codacy.com/gh/RobBrazier/Laravel_Piwik)
[![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/robbrazier/piwik?color=8892BF&style=flat-square)](https://php.net/)
[![Packagist Version](https://img.shields.io/packagist/v/robbrazier/piwik?style=flat-square)](https://packagist.org/packages/robbrazier/piwik)
[![Packagist Downloads](https://img.shields.io/packagist/dt/robbrazier/piwik?style=flat-square)](https://packagist.org/packages/robbrazier/piwik)An Interface to Piwik's Analytics API for Laravel (Composer Package)
This is the Laravel 5+ version of the Laravel-Piwik Bundle.
> Version 4.0.0 and onwards have dropped support for PHP 5.6, 7.0 and 7.1
## Installation
Add `RobBrazier/Piwik` to `composer.json`:
```json
{
"require": {
"robbrazier/piwik": "~4.2"
}
}
```### For Laravel 5.4 and below
Add `'RobBrazier\Piwik\PiwikServiceProvider'` and `'Piwik' => 'RobBrazier\Piwik\Facades\Piwik'`
to `app/config/app.php````php
'providers' = [
...
RobBrazier\Piwik\PiwikServiceProvider::class,
...
],[...]
'aliases' = [
...
'Piwik' => RobBrazier\Piwik\Facades\Piwik::class,
...
],
```### For Laravel 5.5 and above, no app.php changes are required as the autoloader will pick up the required configuration
Then move the config file out of the package, so that it doesn't get replaced
when you update, by running:```bash
php artisan vendor:publish --provider="RobBrazier\Piwik\PiwikServiceProvider" --tag="config"
```Update your packages with `composer update` or install with `composer install`.
Then go to `config/piwik.php` and add your config settings such as server,
apikey, siteid etc.## Documentation
Usage Documentation is located at
API Documentation is located at## Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.Please make sure to update tests as appropriate.
[![Contributors](https://contrib.rocks/image?repo=robbrazier/Laravel_Piwik)](https://github.com/RobBrazier/Laravel_Piwik/graphs/contributors)
## License
[MIT](https://choosealicense.com/licenses/mit/)