Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Drip Laravel Package

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.

View on GitHub
Deep Wiki
Context7

The package requires PHP 7.1.3+ and follows the FIG standards PSR-1, PSR-2 and PSR-4 to ensure a high level of interoperability between shared PHP.

Bug reports, feature requests, and pull requests can be submitted by following our Contribution Guide.

Documentation

Documentation for Drip PHP package can be found here.

Installation

$ composer require glorand/laravel-drip
{
    "require": {
        "glorand/laravel-drip": "^1.0"
    }
}

Set the Service Provider and Facade alias

After installing the package, open your Laravel config file located at config/app.php and add the following lines.

In the $providers array add the following service provider for this package.

\Glorand\Drip\Laravel\DripServiceProvider::class,

In the $aliases array add the following facade for this package.

'Drip' => Glorand\Drip\Laravel\DripFacade::class,

Config - Environment variables

Update your .env file

DRIP_ACCOUNT_ID=your-account_id
DRIP_API_KEY=your-api-key
DRIP_USER_AGENT=custom-agent

Usage

For usage, please refer to the Drip PHP package documentation, located here.

Contract

Use namespace Glorand\Drip\Laravel\DripContract in your controller or service constructor

Facade

Just use the Laravel facade alias Drip:: instead of the native call $drip->.

Helper

Just use the helper function drip() instead of the native call $drip->.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see LICENSE for more information.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity