macsidigital / laravel-stripe
Stripe Laravel package
Requires
- php: ^7.2
- illuminate/support: ^6.0|^7.0
- nesbot/carbon: ^2.0
- stripe/stripe-php: ^6.43
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-11-25 23:23:57 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.