daanra/laravel-ecurring

A package for interacting with eCurring's API in Laravel

dev-master 2022-02-09 17:27 UTC

This package is auto-updated.

Last update: 2024-04-09 22:43:09 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

A package for interacting with eCurring's API. Their API documentation can be found here.

This package is still being developed.

Installation

You can install the package via composer:

composer require daanra/laravel-ecurring

You can publish the config file with:

php artisan vendor:publish --provider="Daanra\Ecurring\EcurringServiceProvider" --tag="config"

Usage

use Daanra\Ecurring\Facades\Ecurring;

$customer = Ecurring::customer()->create([
    'first_name'  => 'Test',
    'last_name'  => 'Tester',
    'email' => 'test@example.com'
]);

$subscription = Ecurring::subscription()->find(123);

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

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