1. Go to this page and download the library: Download m1guelpf/laraccess-api 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/ */
m1guelpf / laraccess-api example snippets
php
$laraccess = new \M1guelpf\LaraccessApi\Laraccess('YOUR_LARACCESS_API_TOKEN');
php
$laraccess = new \M1guelpf\LaraccessApi\Laraccess();
$laraccess->connect('YOUR_LARACCESS_API_TOKEN');
php
$laraccess->getUser();
php
$laraccess->createUser($user);
php
$laraccess->editUser($user);
php
$laraccess->deleteUser();
php
$laraccess->getUserCampaigns();
php
$laraccess->getCampaign($id);
php
$laraccess->createCampaign($campaign);
php
$laraccess->editCampaign($id, $campaign);
php
$laraccess->deleteCampaign($id);
php
$laraccess->getCampaignLeads($id);
php
$laraccess->getLead($id);
php
$laraccess->createLead($id, $lead);
php
$laraccess->editLead($id, $lead);
php
$laraccess->deleteLead($id, $lead);
php
$laraccess->inviteLead($id);
php
$laraccess->regenerateToken($set);
php
$laraccess->getClient();
php
$client = new \GuzzleHttp\Client(); // Example Guzzle client
$laraccess->setClient($client);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.