pedroni/laravel-rd-station
Larablocks Analysis
pedroni/laravel-rd-station works with Laravel 12 (latest release v7.0.1, Apr 18, 2025).
Laravel 8 to 11 in earlier releases.
Recommendation checks
Use with careUse with care: meets 0 of 4 checks.
- Latest release doesn't support Laravel 13, the current version
- No release in the last 12 months (last: Apr 18, 2025)
- 193 downloads a month (needs 10,000)
- 4 GitHub stars (needs 100)
State
Quiet- Last stable release: Apr 18, 2025.
- No releases in the last 12 months.
- First released: Mar 11, 2022.
- Monthly downloads: 193.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require pedroni/laravel-rd-station |
|
| Latest Version: | v7.0.1 |
| PHP: | ^8.2|^8.3|^8.4 |
| Laravel: | 12 |
| Older releases: | 8 – 11 |
| License: | MIT |
| Last Updated: | Jun 23, 2026 |
| Links: | GitHub · Packagist |
Integrate your Laravel project with RD Station
This is a Laravel wrapper around the RD Station API.
Laravel Support Matrix
This table outlines the Laravel versions supported by each version of our library.
| Library Version | Laravel Version |
|---|---|
| 1.x, 2.x, 3.x | 8.x |
| 4.x | 9.x |
| 5.x | 10.x |
| 6.x | 11.x |
| 7.x | 12.x |
Installation
You can install the package via composer:
composer require pedroni/laravel-rd-station
You can publish the config file with:
php artisan vendor:publish --tag="rd-station-config"
This is the contents of the published config file:
return [
'base_url' => env('RD_STATION_BASE_URL', 'https://api.rd.services'),
'client_id' => env('RD_STATION_CLIENT_ID'), // REQUIRED
'client_secret' => env('RD_STATION_CLIENT_SECRET'), // REQUIRED
'redirect_path' => env('RD_STATION_REDIRECT_PATH', 'rd-station/oauth/callback'),
];
⚠️ The env variable
RD_STATION_REDIRECT_PATHMUST match your route endpoint that will be configured later
Publish migrations files and run the migrations:
php artisan vendor:publish --tag="rd-station-migrations"
php artisan migrate
Add two GET routes for the installation controller and the callback controller, example:
// routes/web.php
use Pedroni\RdStation\Controllers\OAuthInstall;
use Pedroni\RdStation\Controllers\OAuthCallback;
Route::get('rd-station/oauth/install', OAuthInstall::class);
Route::get('rd-station/oauth/callback', OAuthCallback::class); // recommended
Open a browser window on http://your-domain.com/rd-station/oauth/install to initiate the instalation.
⚠️ If you decide to change the recommended callback URL you MUST change the
RD_STATION_REDIRECT_PATHvariable
Usage
Using the facade
use Pedroni\RdStation\Facades\RdStation;
RdStation::events()->conversion([
'email' => 'example@mail.com',
'conversion_identifier' => 'identifier',
'cf_example' => 'An example of custom field',
'tags' => ['example-tag'],
]);
Using dependency injection
use Pedroni\RdStation;
public function ExampleController
{
public function exampleUsingAnArgument(RdStation $rdStation)
{
$rdStation->events()->conversion([...]);
}
public function exampleUsingLaravelContainer()
{
$rdStation = app()->make(RdStation::class);
$rdStation->events()->conversion([...]);
}
}
Testing
composer test
docker run --rm -v $(pwd):/app -w /app composer:latest bash -c "composer install && vendor/bin/pest"
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v7.0.1 | ^8.2| | ^12.0 | MIT | |
| v7.0.0 | ^8.2| | ^12.0 | MIT | |
| v6.0.0 | ^8.2| | ^11.0 | MIT | |
| v5.0.0 | ^8.1| | ^10.0 | MIT | |
| v4.0.0 | ^8.1| | ^9.0 | MIT | |
| v3.0.0 | ^8.1 | ^8.0 | MIT | |
| v2.0.1 | ^8.0 | ^8.0 | MIT | |
| 2.0.0 | ^8.0 | ^8.0 | MIT | |
| 1.0.1 | ^7.4 | ^8.0 | MIT | |
| 1.0.0 | ^7.4 | ^8.0 | MIT |
Pre-releases (2)
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.0.2-beta | ^7.4 | ^8.0 | MIT | |
| 0.0.1-beta | ^7.4 | ^8.0 | MIT |