There is no license information available for the latest version (1.0.0) of this package.

This is Roqqu's SDK for Laravel

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/jjacobstech/roqqu

1.0.0 2025-07-26 21:23 UTC

This package is auto-updated.

Last update: 2025-11-06 08:54:42 UTC


README

This is Roqqu's SDK for Laravel application

After installation, copy this to your .env file

Copy this to your env file

ROQQU_PRIVATE_KEY=RAKPRAV66p544g6df59a63f5cf5715a456cac1c4bab613a9032a8ea9fd6fe3e3df4356217cb6f851748263021966
ROQQU_PUBLIC_KEY=RAKPUD0cba90c6jo06c95d884a51135eefb700ec98b8bd40df4dc702d296caa61748263021966
ROQQU_URL=`https://roqqu-api.redocly.app/_mock/apis/`

Then run:

PHP artisan vendor:publish --tag=roqqu-config

to publish the config file to laravel config foldere

<?php

return [
      'api' => [
            'private_key' => env('ROQQU_PRIVATE_KEY'),
            'public_key' => env('ROQQU_PUBLIC_KEY'),
            'url' => env('ROQQU_URL', 'https://roqqu-api.redocly.app/_mock/apis'),
      ],
      'timeout' => 30
];

Then you can use it like this:

<?php
function myRoqqu(){
      
$private_key = config('roqqu.api.private_key');
$public_key = config('roqqu.api.public_key');
$url = config('roqqu.api.url');
$timeout = config('roqqu.timeout');

$roqqu = new RoqquApi($private_key, $public_key, $url, $timeout);

$response = $roqqu->customersBlacklist("jacobsjoshua81@gmail.com",  'reason');

return $response;
}

Author