Install and Publish Assets
Command
Section titled “Command”php artisan uplinkr:installDescription
Section titled “Description”Publishes Uplinkr configuration and language files to your Laravel app. Optionally enables scheduler integration and can initialize global I’m alive settings during installation.
Requirement:
ext-opensslmust be enabled in PHP when you want TLS certificate metadata in probe and alert output.
Options
Section titled “Options”| Option | Type | Required | Description |
|---|---|---|---|
--scheduler | flag | No | Enable scheduler integration by setting enabled to true in the config |
--iam-alive | flag | No | Enable I’m alive notifications in global settings |
--iam-alive-interval-hours | integer | No | Set I’m alive interval in hours (1-24) |
--iam-alive-channels | string | No | Comma-separated I’m alive channels (mail,log,webhook) |
Usage Examples
Section titled “Usage Examples”Basic install (publish assets only)
Section titled “Basic install (publish assets only)”php artisan uplinkr:installInstall and enable scheduler integration
Section titled “Install and enable scheduler integration”php artisan uplinkr:install --schedulerInstall and configure I’m alive
Section titled “Install and configure I’m alive”php artisan uplinkr:install \ --scheduler \ --iam-alive \ --iam-alive-interval-hours=6 \ --iam-alive-channels=mail,logBehavior
Section titled “Behavior”- Publishes
uplinkr-configanduplinkr-langassets viavendor:publish - Prints a config hint after publishing
- If
--scheduleris provided, updatesconfig/uplinkr.phpto enable the scheduler - If the config file is missing, the scheduler step is skipped with a warning
- If the scheduler is already enabled, no changes are made
- If
--iam-alive*options are provided, writes global heartbeat settings tostorage/app/private/uplinkr/settings.json - If interval/channels are provided without
--iam-alive, Uplinkr enablesI’m aliveautomatically - If
I’m aliveis configured without--scheduler, the command prints a hint that scheduled heartbeat delivery will not run yet - Invalid
I’m aliveinterval/channel combinations end with an invalid command status
Return Codes
Section titled “Return Codes”0(SUCCESS): Installation completed successfully2(INVALID): InvalidI’m alivesettings were provided