Search by

glue-agency / craft-glue-backoffice

glue-agency

Backoffice insights

Package info

github.com/glue-agency/craft-glue-backoffice

Documentation

Type:craft-plugin

pkg:composer/glue-agency/craft-glue-backoffice

Statistics

Installs: 9 556

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

5.1.0 2026-09-28 11:06 UTC

This package is auto-updated.

Last update: 2026-09-30 12:20:35 UTC


README

Backoffice and insight

Requirements

This plugin requires Craft CMS 5.0.0 or later, and PHP 8.2 or later.

Installation

Create a glue-backoffice.php file in the /config folder with this config

return [
    'url'   => getenv('GLUE_BACKOFFICE_URL'),
    'token' => getenv('GLUE_BACKOFFICE_TOKEN'),
];

Finally add the env vars to your .env and .env.example.

# Glue Backoffice
GLUE_BACKOFFICE_URL="https://dashboard.glue.be/"
GLUE_BACKOFFICE_TOKEN=""

Open your terminal and run the following commands:

# Require the plugin through composer
composer require glue-agency/craft-glue-backoffice

# Install the plugin
php craft plugin/install glue-backoffice

Reporting

After each deploy, report the install to the Glue Dashboard. The command only reports in the production environment.

php craft glue-backoffice/report --repository-name=git@bitbucket.org:glue-team/project.git

--repository-name is optional: without it, the repository is left out of the report.

From a Deployer deploy.php:

desc('Report to backoffice');
task('glue:backoffice_report', function() {
    call_user_func(craft('glue-backoffice/report --repository-name={{repository}}'));
});

after('deploy:symlink', 'glue:backoffice_report');