Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/umobi/rdstation-laravel
Unoficial Laravel integration for RDStation
https://github.com/umobi/rdstation-laravel
Last synced: about 2 months ago
JSON representation
Unoficial Laravel integration for RDStation
- Host: GitHub
- URL: https://github.com/umobi/rdstation-laravel
- Owner: umobi
- License: mit
- Created: 2018-03-04T03:35:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-04T06:13:50.000Z (almost 7 years ago)
- Last Synced: 2024-04-21T03:30:48.273Z (9 months ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Unoficial Laravel integration for RDStation
[![Build Status](https://secure.travis-ci.org/umobi/rdstation-laravel.png?branch=master)](http://travis-ci.org/umobi/rdstation-laravel)
[![Total Downloads](https://img.shields.io/packagist/dt/umobi/rdstation-laravel.svg?style=flat-square)](https://packagist.org/packages/umobi/rdstation-laravel)
[![Downloads per month](https://img.shields.io/packagist/dm/umobi/rdstation-laravel.svg?style=flat-square)](https://packagist.org/packages/umobi/rdstation-laravel)
[![Latest stable version](https://img.shields.io/packagist/v/umobi/rdstation-laravel.svg?style=flat-square)](https://packagist.org/packages/umobi/rdstation-laravel)
[![License](http://img.shields.io/packagist/l/umobi/rdstation-laravel.svg?style=flat-square)](https://packagist.org/packages/umobi/rdstation-laravel)Unoficial Laravel integration for [RDStation](https://rdstation.com.br/).
## Installation
### Laravel 5.x
Install the ``umobi/rdstation-laravel`` package:
```bash
$ composer require umobi/rdstation-laravel
```### Setting up your RDStation service
Log in to your [RDStation dashboard](https://www.rdstation.com.br/integracoes/tokens/) and grab your Token and Private Token. Add them to `config/services.php`.```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
```php
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](https://ajuda.rdstation.com.br/hc/pt-br/articles/200310589)## 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 [email protected] instead of using the issue tracker.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Credits
- [Umobi](https://github.com/umobi)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.