Skip to content

Installation

Terminal window
composer require binarybuilds/laritor-client
Terminal window
php artisan vendor:publish --provider="BinaryBuilds\LaritorClient\LaritorServiceProvider"
LARITOR_ENABLED=true
LARITOR_INGEST_URL=your-ingest-url

Step 4: Run Laritor sync command after each deployment.

Section titled “Step 4: Run Laritor sync command after each deployment.”

Run the below command after each deployment; so important code changes like scheduled tasks, database schema, custom health checks and server changes are synchronized with Laritor.

Terminal window
php artisan laritor:sync

If you wish to collect server metrics like cpu, memory and disk usage, Schedule the below command to run every minute.

Terminal window
php artisan laritor:send-metrics

Once you complete the above steps, Your application should start sending events to laritor. Check the next section about how to customize and control what information is shared with laritor.