Skip to content

MacsiDigital/laravel-stripe

Repository files navigation

Laravel package for Stripe Payments

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 [email protected] instead of using the issue tracker.

Credits

License

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

About

Stripe API with Laravel Eloquent type syntax

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages