PHPackages                             kamrul-haque/laravel-stripe-payment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kamrul-haque/laravel-stripe-payment

ActiveLibrary

kamrul-haque/laravel-stripe-payment
===================================

Add Stripe payment functionality with partial refund feature to your existing Laravel project. The package uses the latest stripe.js v3 and fully customizable to your need.

v2.0.3(2y ago)1122MITBlade

Since Dec 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Kamrul-Haque/laravel-stripe-payment)[ Packagist](https://packagist.org/packages/kamrul-haque/laravel-stripe-payment)[ RSS](/packages/kamrul-haque-laravel-stripe-payment/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

laravel-stripe-payment
======================

[](#laravel-stripe-payment)

[![Latest Stable Version](https://camo.githubusercontent.com/6da9b4274c6934f1018c5b6b9a8aa6ad22250b2c4f7376fc0f2d3e95e4e9a659/687474703a2f2f706f7365722e707567782e6f72672f6b616d72756c2d68617175652f6c61726176656c2d7374726970652d7061796d656e742f76)](https://packagist.org/packages/kamrul-haque/laravel-stripe-payment) [![Total Downloads](https://camo.githubusercontent.com/75332211ca9a017a360b99583073d49b439d4fed3eb1a981d23d240f5a3c8609/687474703a2f2f706f7365722e707567782e6f72672f6b616d72756c2d68617175652f6c61726176656c2d7374726970652d7061796d656e742f646f776e6c6f616473)](https://packagist.org/packages/kamrul-haque/laravel-stripe-payment) [![Latest Unstable Version](https://camo.githubusercontent.com/fb5d5c014eebeb938ff7bc952f633fd58d454ce6ef9adbd54273fb5cc807d5e6/687474703a2f2f706f7365722e707567782e6f72672f6b616d72756c2d68617175652f6c61726176656c2d7374726970652d7061796d656e742f762f756e737461626c65)](https://packagist.org/packages/kamrul-haque/laravel-stripe-payment) [![License](https://camo.githubusercontent.com/6461e9f1d80d70c190a3fdf055c5f6e4dc5109aeefcbd9b4841ea9de8135058f/687474703a2f2f706f7365722e707567782e6f72672f6b616d72756c2d68617175652f6c61726176656c2d7374726970652d7061796d656e742f6c6963656e7365)](https://packagist.org/packages/kamrul-haque/laravel-stripe-payment) [![GitHub Repo stars](https://camo.githubusercontent.com/93d95f8aa0f0b90f81dee0e420dc8328572f1f780c9ef84bf926dd6507e2dbec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f4b616d72756c2d48617175652f6c61726176656c2d7374726970652d7061796d656e743f636f6c6f723d463542443136)](https://camo.githubusercontent.com/93d95f8aa0f0b90f81dee0e420dc8328572f1f780c9ef84bf926dd6507e2dbec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f4b616d72756c2d48617175652f6c61726176656c2d7374726970652d7061796d656e743f636f6c6f723d463542443136)

Add Stripe payment functionality with partial refund feature to your existing Laravel project. The package uses the latest stripe.js v3 and fully customizable to your need.

Installation
------------

[](#installation)

Install the package via [composer](https://getcomposer.org/):

```
composer require kamrul-haque/laravel-stripe-payment

```

Publish `resources` of the package:

```
php artisan vendor:publish --tag="laravel-stripe"

```

Migrate the necessary database tables:

```
php artisan migrate

```

Configuration
-------------

[](#configuration)

Set the `Stripe` *Api Keys* in `.env`:

```
// .env

STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=

```

Add `routes` to `web.php`:

```
// routes/web.php
