Laravel

Install on Laravel Application

Install Laravel Client package

composer require 1pilotapp/laravel-client

Publish configuration

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

Add following line to your .env file

ONEPILOT_PRIVATE_KEY="A RANDOMLY GENERATED STRING"

Advanced configuration

Disable timestamp check

If your server is not at time you can have issue to connect your application to 1Pilot.

For solve that set skip_time_stamp_validation parameter to true in config/onepilot.php

Please note that this option will decrease security and that you should as much as possible set your server at the correct time.

‚Äč