Unoficial Laravel integration for RDStation
, (*1)
Unoficial Laravel integration for RDStation., (*2)
Installation
Laravel 5.x
Install the umobi/rdstation-laravel
package:, (*3)
$ 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
., (*4)
// config/services.php
...
'rdstation' => [
'token' => env('RDSTATION_TOKEN'),
'private_token' => env('RDSTATION_PRIVATE_TOKEN'),
],
Add your RDStation Tokens to .env
file:, (*5)
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, (*6)
Contributing
Dependencies are managed through composer:, (*7)
$ composer install
Tests can then be run via phpunit:, (*8)
$ vendor/bin/phpunit
Security
If you discover any security related issues, please email ramon@umobi.com.br instead of using the issue tracker., (*9)
Contributing
Please see CONTRIBUTING for details., (*10)
Credits
License
The MIT License (MIT). Please see License File for more information., (*11)