Download the PHP package pixelopen/sulu-plausiblebundle without Composer
On this page you can find all versions of the php package pixelopen/sulu-plausiblebundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pixelopen/sulu-plausiblebundle
More information about pixelopen/sulu-plausiblebundle
Files in pixelopen/sulu-plausiblebundle
Download pixelopen/sulu-plausiblebundle
More information about pixelopen/sulu-plausiblebundle
Files in pixelopen/sulu-plausiblebundle
Vendor pixelopen
Package sulu-plausiblebundle
Short Description This bundle allows you to integrate Plausible analytics statistics into the Sulu administration interface via an embedded iframe.
License MIT
Package sulu-plausiblebundle
Short Description This bundle allows you to integrate Plausible analytics statistics into the Sulu administration interface via an embedded iframe.
License MIT
Please rate this library. Is it a good library?
Informations about the package sulu-plausiblebundle
Plausible Bundle for Sulu
This bundle allows you to integrate Plausible analytics statistics into the Sulu administration interface via an embedded iframe.
[](https://php.net/)
[](https://symfony.com)
[](https://github.com/Pixel-Open/sulu-plausiblebundle/releases)
[](https://sonarcloud.io/summary/new_code?id=Pixel-Open_sulu-plausiblebundle)
❤️ Features
- ✅ Display Plausible statistics in Sulu admin
- ✅ Configuration via environment variables
- ✅ Support for custom Plausible instances
- ✅ Interface integrated with Sulu design
- ✅ Responsive and optimized for administration
- ✅ Multilingual support (English/French)
- ✅ Translation system using Sulu standards
🚀 Installation
-
Install the bundle with composer
-
Create the file plausible.yaml in the config/packages folder
-
Configure the environment variables in your
.env
file: - Add the plausible.js file to the assets/admin folder located in the [vendor/pixelopen/sulu-plausiblebundle/src/Resources/js/plausible.js]() folder.
-
Add plausible script on app.js to the asset/admin folder :
- Install all npm dependencies and build the admin UI (see all options):
⚙️ Configuration
Environment Variables
PLAUSIBLE_DOMAIN
: The domain configured in Plausible (required)PLAUSIBLE_BASE_URL
: The base URL of your Plausible instance (default: https://plausible.io)PLAUSIBLE_AUTH_KEY
: Authentication key for shared links (optional but recommended)
Advanced Configuration
You can customize the configuration in config/packages/plausible.yaml
:
📖 Usage
- Log in to the Sulu administration
- Add permission from User roles
- Click on "Statistics" in the navigation menu
- Statistics are displayed in an integrated iframe
✅ Requirements
- Sulu CMS ^2.6
- PHP ^8.2
- A Plausible account with a configured domain
- Public sharing enabled in Plausible for your site
🏳️ Translations
The bundle includes full translation support:
Supported Languages
- English (
admin.en.json
) - French (
admin.fr.json
)
Translation Keys
plausible.statistics
- Main navigation titleplausible.configuration_missing
- Error message for missing configplausible.domain_not_configured
- Domain configuration errorplausible.check_env_variable
- Environment variable check messageplausible.domain
- Domain labelplausible.statistics_for
- Iframe title with domain interpolation
Adding New Languages
To add support for additional languages, create new translation files:
📝 Notes
- Ensure that public sharing is enabled in your Plausible settings
- The iframe uses the parameters:
embed=true&theme=light&background=transparent
- The bundle automatically integrates into the administration navigation
- All user-facing text uses Sulu's translation system for internationalization support
All versions of sulu-plausiblebundle with dependencies
PHP Build Version
Package Version
The package pixelopen/sulu-plausiblebundle contains the following files
Loading the files please wait ....