detain / myadmin-google-analytics
Google Analytics handling plugin for the MyAdmin control panel framework. Provides event-driven integration for analytics tracking, menu registration, and settings management.
Package info
github.com/myadmin-plugins/google-analytics
Type:myadmin-plugin
pkg:composer/detain/myadmin-google-analytics
Requires
- php: >=5.0.0
- ext-soap: *
- detain/myadmin-plugin-installer: dev-master
- symfony/event-dispatcher: >=2.8.26
Requires (Dev)
- codacy/coverage: dev-master
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: *
- phpunit/phpunit-mock-objects: *
- satooshi/php-coveralls: *
- vlucas/phpdotenv: *
This package is auto-updated.
Last update: 2026-03-19 15:46:12 UTC
README
Google Analytics integration plugin for the MyAdmin control panel framework. Provides event-driven hooks for analytics tracking, menu registration, requirement loading, and settings management within the MyAdmin plugin architecture.
Installation
Install via Composer:
composer require detain/myadmin-google-analytics
Usage
The plugin registers itself through the MyAdmin event system. It provides the following event handlers:
- getHooks() -- Returns an array of event hooks the plugin subscribes to.
- getMenu() -- Registers admin menu entries when the current user has appropriate permissions.
- getRequirements() -- Registers class and function requirements with the plugin loader.
- getSettings() -- Integrates plugin settings into the MyAdmin settings panel.
Running Tests
composer install vendor/bin/phpunit
License
This package is licensed under the LGPL-2.1 license.