Skip to content

umobi/rdstation-laravel

Repository files navigation

Unoficial Laravel integration for RDStation

Build Status Total Downloads Downloads per month Latest stable version License

Unoficial Laravel integration for RDStation.

Installation

Laravel 5.x

Install the umobi/rdstation-laravel package:

$ composer require umobi/rdstation-laravel

Setting up your RDStation service

Log in to your RDStation dashboard and grab your Token and Private Token. Add them to config/services.php.

// config/services.php
...
'rdstation' => [
    'token' => env('RDSTATION_TOKEN'),
    'private_token' => env('RDSTATION_PRIVATE_TOKEN'),
],

Add your RDStation Tokens to .env file:

RDSTATION_TOKEN=f1c940384a971f2982c61a5e5f11e6b9
RDSTATION_PRIVATE_TOKEN=82ue82918du234j3j43ld9j2jpao91282

Usage

 app('rdstation')->register($source, [
    'name' => $name,
    'email' => $email,
    'mobile_phone' => $lead->phone_number,
    ... // RDStation Lead fields
]);

Show additional info on Integrar sistema próprio para Criação de Leads e registrar conversão

Contributing

Dependencies are managed through composer:

$ composer install

Tests can then be run via phpunit:

$ vendor/bin/phpunit

Security

If you discover any security related issues, please email ramon@umobi.com.br instead of using the issue tracker.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.