PHPackages                             christianbraybrooke/stripe-laravel-payment-intents - 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. [Payment Processing](/categories/payments)
4. /
5. christianbraybrooke/stripe-laravel-payment-intents

ActiveLibrary[Payment Processing](/categories/payments)

christianbraybrooke/stripe-laravel-payment-intents
==================================================

0.0.2(6y ago)16MITPHP

Since Aug 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ChrisBraybrooke/LaravelStripePaymentIntent)[ Packagist](https://packagist.org/packages/christianbraybrooke/stripe-laravel-payment-intents)[ RSS](/packages/christianbraybrooke-stripe-laravel-payment-intents/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

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

[](#installation)

This package is still under development, and will require some more documentation. For help, please email .

### Composer

[](#composer)

First, require the package from packagist.org using the snippet below in the terminal. Laravel 5.5 and greater will autoload our Service provider.

```
composer require christianbraybrooke/stripe-laravel-payment-intents
```

### Database

[](#database)

By default we will store all transactions in the database using the `payment_records` table. If this is not desirable, please place the following in your `\App\Providers\AppServiceProvider`'s `boot` method.

```
use ChrisBraybrooke\LaravelStripePaymentIntent\Facades\StripePaymentIntent;

/**
 * Bootstrap any application services.
 *
 * @return void
 */
public function boot()
{
    StripePaymentIntent::dontSavePaymentRecords();
}
```

Next, you will need to publish the required migrations &amp; migrate.

```
php artisan vendor:publish --tag="payment-migrations"

php artisan migrate
```

### Stripe

[](#stripe)

In order for us to be able to communicate with Stripe, you will need to add your API keys to the `.env` file, if you haven't done so already. You will find your keys here

```
STRIPE_KEY=###
STRIPE_SECRET=###
```

Usage
-----

[](#usage)

### Payment Form

[](#payment-form)

Out of the box, we give you a simple payment form component which will allow you to get up and running in no time. Simply add the payment feilds and scripts components to the desired page and you are good to go!

```
@paymentFields([
  // Amount in lowest currency (pence, cents etc.).
  // Currency in valid currency code.
  // Success URL is the route we will post to completed form data to.
  'amount' =>  12500, 'currency' => 'GBP', 'successUrl' => route('payment.submit')
])
@endpaymentFields

// Somewhere towards the footer
@paymentScripts()
@endpaymentScripts
```

### Customisation

[](#customisation)

Currently, there are two things you can do to change the look of the payment form. These can be registered in your `\App\Providers\AppServiceProvider`'s `boot` method.

```
use ChrisBraybrooke\LaravelStripePaymentIntent\Facades\StripePaymentIntent;

/**
 * Bootstrap any application services.
 *
 * @return void
 */
public function boot()
{
  	// Will give the inputs on the payment form a class of: 'form-control'
    StripePaymentIntent::setInputClass('form-control');

  	// Will change the colour of elements like the submit button.
  	StripePaymentIntent::setThemeColor('#efefef');
}
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2459d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/954f04d21211c33ec6dd750169be63b054d65d2fba406a0ad523b43cda015b25?d=identicon)[ChrisBraybrooke](/maintainers/ChrisBraybrooke)

### Embed Badge

![Health badge](/badges/christianbraybrooke-stripe-laravel-payment-intents/health.svg)

```
[![Health](https://phpackages.com/badges/christianbraybrooke-stripe-laravel-payment-intents/health.svg)](https://phpackages.com/packages/christianbraybrooke-stripe-laravel-payment-intents)
```

###  Alternatives

[spatie/laravel-stripe-webhooks

Handle stripe webhooks in a Laravel application

5213.1M8](/packages/spatie-laravel-stripe-webhooks)[tightenco/nova-stripe

A tool to create a quick Stripe dashboard in your Laravel Nova admin panels

110308.9k](/packages/tightenco-nova-stripe)[duncanmcclean/simple-commerce

A simple, yet powerful e-commerce addon for Statamic.

16313.2k2](/packages/duncanmcclean-simple-commerce)[flux-se/payum-stripe

Payum Stripe gateways

29407.5k4](/packages/flux-se-payum-stripe)[payum/stripe

The Payum extension. It provides Stripe payment integration.

22573.1k3](/packages/payum-stripe)[craftcms/commerce-stripe

Stripe integration for Craft Commerce 5.0+

32157.4k3](/packages/craftcms-commerce-stripe)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
