Skip to content

ninjaparade/stripe-data

Repository files navigation

Stripe Data is a Laravel package that brings your apps Stripe Data into your own database.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Installation

You can install the package via composer:

composer require ninjaparade/stripe-data

You can publish and run the migrations with:

php artisan vendor:publish --tag="stripe-data-migrations"
php artisan migrate

Make sure your stripe environment variables are set, the env vars expected are as follows

env('STRIPE_KEY'),
env('STRIPE_SECRET'),
env('STRIPE_WEBHOOK_SECRET'),
env('STRIPE_API_VERSION', '2023-09-21'),
env('STRIPE_API_BASE', 'https://api.stripe.com'),

You can publish the config file with:

php artisan vendor:publish --tag="stripe-data-config"

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="stripe-data-views"

Usage

return Redirect::to('https://www.youtube.com/watch?v=dQw4w9WgXcQ');

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages