codingmonkeys / dashboard-connector
Package to connect an application with the Coding Monkeys dashboard
Installs: 2 526
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.5
- laravel/framework: ^10.0
Requires (Dev)
- laravel/pint: ^1.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpunit/phpunit: ^10.0
- spatie/ray: ^1.37
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" ],