Laravel

Setup guide to install and configure the 1Pilot client on Laravel

Install on Laravel Application

Install the Laravel Client package

composer require 1pilotapp/laravel-client

Publish configuration

php artisan vendor:publish --provider="OnePilot\Client\ClientServiceProvider"

Add the following line to your .env file

ONEPILOT_PRIVATE_KEY="A RANDOMLY GENERATED STRING"

Advanced configuration

Disable timestamp check

If your server time is not set correctly you can have issues connecting your application to 1Pilot.

To solve that, set the skip_time_stamp_validation parameter to true in config/onepilot.php

Please note that this option will decrease security and that if you can, you should set your server to the correct time instead.