glorand/laravel-drip
Laravel 5.7+ integration for the Drip PHP API client. Provides a service provider and facade for easy Drip setup via .env config (account ID, API key, user agent) and quick access to Drip features inside Laravel apps.
cache()->remember() for rate-limiting).glorand/drip (abandoned since 2017), which may not support Drip’s current API.Drip::contact()->create()) reduces coupling.env() or vaults like Hashicorp).Str::of(), Arr::dot()) may conflict with legacy code.| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| API Deprecation | High | Abstract Drip calls behind an interface for future swappability. |
| Security | Medium | Avoid hardcoding API keys; use Laravel’s config() or a secrets manager. |
| Compatibility | High | Test thoroughly with Laravel 8/9/10 and PHP 8.x. |
| Maintenance | Critical | Plan for forks or rewrite if Drip API changes. |
| Performance | Low | Minimal overhead for basic operations. |
spatie/laravel-drip if it exists).glorand/drip package breaks?glorand/drip (check Drip’s changelog).Drip::contact()->create()) in a staging environment.DripManager to the container).composer require glorand/laravel-drip.php artisan vendor:publish --provider="Glorand\LaravelDrip\LaravelDripServiceProvider".config('services.drip.key').// app/Facades/CustomDrip.php
namespace App\Facades;
use Illuminate\Support\Facades\Facade;
class CustomDrip extends Facade {
protected static function getFacadeAccessor() { return 'drip'; }
}
Http::post('https://api.getdrip.com/v2/contacts')).| Component | Compatibility Status | Notes |
|---|---|---|
| Laravel 5.7–6.x | ✅ Full | Tested in README. |
| Laravel 7–10 | ⚠️ Partial | May require polyfills (e.g., Illuminate\Support\Str). |
| PHP 7.1–7.4 | ✅ Full | Minimal PHP 8.x support. |
| PHP 8.x | ❌ Broken | Named arguments, union types unsupported. |
| Drip API v1 | ✅ Full | v2+ unsupported. |
| Drip API v2+ | ❌ Broken | Endpoint changes may break calls. |
Monolog for API calls).config/drip.php file).glorand/laravel-drip).glorand/drip may require rewrites if abandoned.glorand/drip source for issues.Drip::contact()->create() in a bus:queue job).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Drip API downtime | App features break | Implement circuit breakers (e.g., retry-after headers). |
| API key leakage | Security breach | Use Laravel’s env() + .env files. |
| Package abandonment | No updates/bug fixes | Fork or migrate to direct API calls. |
| Laravel version mismatch | Breaking changes | Test in CI (e.g., GitHub Actions). |
| Drip API v2+ changes | Package breaks | Abstract API calls behind interfaces. |
glorand/drip source.How can I help you explore Laravel packages today?