macsidigital/laravel-stripe

Stripe Laravel package

0.0.11 2020-03-11 20:41 UTC

README

A little Laravel package to communicate with Stripe.

Installation

You can install the package via composer:

composer require macsidigital/laravel-stripe

The service provider should automatically register for For Laravel > 5.4.

For Laravel < 5.5, open config/app.php and, within the providers array, append:

MacsiDigital\Stripe\Providers\StipeServiceProvider::class

Configuration file

Publish the configuration file

php artisan vendor:publish --provider="MacsiDigital\Stripe\Providers\StripeServiceProvider"

This will create a xero/config.php within your config directory. Check the Stripe documentation for the relevant values in the config.php file. Ensure that the location of the RSA keys matches.

Usage

Everything has been setup to be similar to Laravel syntax.

Testing

At present there is no PHP Unit Testing, but we plan to add it in the future.

Todo

  • Tests, tests, tests

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email colin@macsi.co.uk instead of using the issue tracker.

Credits

License

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