Unoficial Laravel integration for RDStation.
Install the umobi/rdstation-laravel
package:
$ composer require umobi/rdstation-laravel
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
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
Dependencies are managed through composer:
$ composer install
Tests can then be run via phpunit:
$ vendor/bin/phpunit
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.