codingmonkeys/dashboard-connector

There is no license information available for the latest version (2.2.1) of this package.

Package to connect an application with the Coding Monkeys dashboard

2.2.1 2023-08-03 19:21 UTC

This package is auto-updated.

Last update: 2024-05-03 20:52:56 UTC


README

This package provides a connection with the Coding Monkeys API.
In order to use this package, a token should be provided by Coding Monkeys.

Installation

Require the package using composer:

composer require codingmonkeys/dashboard-connector

Usage

Publish the config file by using:

php artisan vendor:publish --provider="CodingMonkeys\DashboardConnector\DashboardConnectorServiceProvider" --tag=dashboard-connector:config

Add environment variable:

CM_SITE_TOKEN=""  

Send application details to the Coding Monkeys dashboard:

php artisan command:cm-update

Automatic updates

Add the artisan command to the post-autoload-dump hook in composer.json for automatic updates.

"post-autoload-dump": [
    "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
    "@php artisan package:discover --ansi",
    "@php artisan command:cm-update"
],