Download the PHP package dominservice/laravel-stripe without Composer
On this page you can find all versions of the php package dominservice/laravel-stripe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dominservice/laravel-stripe
More information about dominservice/laravel-stripe
Files in dominservice/laravel-stripe
Package laravel-stripe
Short Description Laravel integration for Stripe.
License MIT
Homepage https://github.com/dominservice/laravel-stripe
Informations about the package laravel-stripe
Laravel Stripe
Stripe integration for laravel 10+ on PHP 8.1+
Installation
Add your stripe credentials in .env
:
Publish config:
Publish migrations:
Configuration
In the configuration file you can change the list of allowed currencies. Check if your currency is on this list, and if it is not there, add it, otherwise you will not be able to use this package.
Also check if your User model is the same as the model specified in the config/stripe.php
file
Usage
Routing
You must attach middleware stripe.verify:{name}
to routes that have a reference to payments webhook so that the paths are secured.
{name}
indicates which webhook key should be used. In the above example, it is checkout
.
This means that config("stripe.webhooks.signing_secrets.checkout")
will be used to verify webhook.
Code
To be continued... ;)
This repo is not finished
All versions of laravel-stripe with dependencies
ext-json Version *
dominservice/data_locale_parser Version ^1.0
illuminate/console Version ^10.0
illuminate/contracts Version ^10.0
illuminate/database Version ^10.0
illuminate/http Version ^10.0
illuminate/queue Version ^10.0
illuminate/routing Version ^10.0
illuminate/support Version ^10.0
psr/log Version ^3.0
stripe/stripe-php Version ^13.10