Skip to content

Install and Publish Assets

Terminal window
php artisan uplinkr:install

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-openssl must be enabled in PHP when you want TLS certificate metadata in probe and alert output.

OptionTypeRequiredDescription
--schedulerflagNoEnable scheduler integration by setting enabled to true in the config
--iam-aliveflagNoEnable I’m alive notifications in global settings
--iam-alive-interval-hoursintegerNoSet I’m alive interval in hours (1-24)
--iam-alive-channelsstringNoComma-separated I’m alive channels (mail,log,webhook)
Terminal window
php artisan uplinkr:install
Terminal window
php artisan uplinkr:install --scheduler
Terminal window
php artisan uplinkr:install \
--scheduler \
--iam-alive \
--iam-alive-interval-hours=6 \
--iam-alive-channels=mail,log
  • Publishes uplinkr-config and uplinkr-lang assets via vendor:publish
  • Prints a config hint after publishing
  • If --scheduler is provided, updates config/uplinkr.php to 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 to storage/app/private/uplinkr/settings.json
  • If interval/channels are provided without --iam-alive, Uplinkr enables I’m alive automatically
  • If I’m alive is configured without --scheduler, the command prints a hint that scheduled heartbeat delivery will not run yet
  • Invalid I’m alive interval/channel combinations end with an invalid command status
  • 0 (SUCCESS): Installation completed successfully
  • 2 (INVALID): Invalid I’m alive settings were provided