PHP code example of jorisvanw / intercom-laravel
1. Go to this page and download the library: Download jorisvanw/intercom-laravel library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jorisvanw / intercom-laravel example snippets
'providers' => [
'Shadow\IntercomLaravel\ServiceProvider',
],
'aliases' => [
'Intercom' => 'Shadow\IntercomLaravel\Facade',
],
'intercom' => [
'app_id' => 'appIdGoesHere',
'api_key' => 'apiKeyGoesHere',
],
// Create/update a user
Intercom::users()->create([
'email' => '[email protected]'
]);