umobi / rdstation-laravel
A Laravel Wrapper around RDStation API
1.0.2
2018-03-04 06:13 UTC
Requires
- guzzlehttp/guzzle: ~6.0
- illuminate/support: 5.5.*|5.6.*
Requires (Dev)
- orchestra/testbench: 3.5.*|3.6.*
- phpunit/phpunit: 6.0.*|7.0.*
This package is auto-updated.
Last update: 2024-11-08 08:03:57 UTC
README
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.