eliosfund / repcard-php-sdk
RepCard SDK for Laravel.
v1.4.0
2025-04-15 21:47 UTC
Requires
- php: ^8.2
- illuminate/support: ^10.0|^11.0|^12.0
Requires (Dev)
- guzzlehttp/guzzle: ^7.9.2
- larastan/larastan: ^2.9.12
- laravel/pint: ^1.19
- orchestra/testbench: ^8.0|^9.0
- phpunit/phpunit: ^9.0|^10.4
This package is auto-updated.
Last update: 2025-06-15 22:05:55 UTC
README
RepCard SDK for Laravel.
Installation
Install the package via Composer:
composer require eliosfund/repcard-php-sdk
Publish the config file:
php artisan vendor:publish --tag=repcard-config
Set the following environment variables in your .env
file:
REPCARD_API_KEY=your-api-key REPCARD_COMPANY_ID=your-company-id
In config/repcard.php
, add the role names you want to allow when creating or updating a user, e.g.:
'roles' => [ 'Sales', 'Sales Manager', ],
Usage
use RepCard\Facades\RepCard;