PHPackages                             tightenco/nova-stripe - 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. tightenco/nova-stripe

ActiveLibrary[Payment Processing](/categories/payments)

tightenco/nova-stripe
=====================

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

v3.0.0(1y ago)109334.9k↑43.5%20MITPHPPHP ^8.1|^8.2|^8.3CI failing

Since Aug 30Pushed 3mo ago12 watchersCompare

[ Source](https://github.com/tighten/nova-stripe)[ Packagist](https://packagist.org/packages/tightenco/nova-stripe)[ RSS](/packages/tightenco-nova-stripe/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (8)Versions (26)Used By (0)

[![Nova-Stripe Logo](https://raw.githubusercontent.com/tightenco/nova-stripe/master/nova-stripe-banner.png)](https://raw.githubusercontent.com/tightenco/nova-stripe/master/nova-stripe-banner.png)

Laravel Nova Stripe Dashboard
=============================

[](#laravel-nova-stripe-dashboard)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ef152e9f41ca817e233ef738b7a4aa518bea5d8c4077fbb324df952cc2ebf202/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7469676874656e636f2f6e6f76612d7374726970652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tightenco/nova-stripe)[![Total Downloads](https://camo.githubusercontent.com/207a497f703e26bf84a06f3bcd1b60fcfbffd9b8f7ce96db28506b40f06939ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7469676874656e636f2f6e6f76612d7374726970652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tightenco/nova-stripe)

This package makes it easy to see high-level information about your application's [Stripe](https://stripe.com/) balance, charges, subscriptions and customers in a Nova dashboard.

If you are interested in managing your users' Stripe subscriptions with [Laravel Cashier](https://github.com/laravel/cashier), check out [Nova Cashier Manager](https://novapackages.com/packages/themsaid/nova-cashier-manager) by [themsaid](https://github.com/themsaid).

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

[](#installation)

You can install this package via [Composer](https://getcomposer.org/):

```
$ composer require tightenco/nova-stripe
```

Usage
-----

[](#usage)

Add your Stripe key and secret values to your `.env` file:

```
STRIPE_KEY=
STRIPE_SECRET=

```

-

Add a `stripe` element to your `config/services.php` configuration file:

```
'stripe' => [
    'key' => env('STRIPE_KEY'),
    'secret' => env('STRIPE_SECRET'),
],
```

Register the `NovaStripe` tool in `app/Providers/NovaServiceProvider`:

```
public function tools()
{
    return [
        new \Tighten\NovaStripe\NovaStripe,
    ];
}
```

What's New in Version 3
-----------------------

[](#whats-new-in-version-3)

#### 🛍️ Products and Subscriptions

[](#️-products-and-subscriptions)

Previously, only **Charges** and **Customers** were supported. Now, two new resources are available: **Products** and **Subscriptions**.

#### 🔄 Sync with Stripe

[](#-sync-with-stripe)

Select one or more resources—**Products, Customers, Charges, and Subscriptions**—and Nova Stripe will fetch all records in batches of 100 until the sync is complete. You can choose to run the sync in the background or immediately.

#### 📃 Enhanced Pagination

[](#-enhanced-pagination)

Once all records are synced, pagination works with your Nova settings. Choose to show **25, 50, or 100 records per page**.

#### 🔍 Search

[](#-search)

Quickly find what you need with built-in search for key fields like **ID, Name, Email**, and more.

#### ↕️ Sorting

[](#️-sorting)

Sort your data by column—**Charges by amount, Customers by email, and more**.

#### 🎯 Filters

[](#-filters)

Filter your data to focus on what matters. Filter **Products** by active or inactive, **Charges** by date, and more.

#### 📑 Improved List &amp; Detail Views

[](#-improved-list--detail-views)

Your data is displayed to emulate Stripe’s Dashboard—clear and easy to read (no raw JSON dumps!).

#### 🔗 Relationships

[](#-relationships)

Seamlessly navigate between related records: view a **Customer’s Charges and Subscriptions** directly on their detail page, and jump from a **Charge** to its associated **Customer** with one click.

#### 🎨 White Label Friendly

[](#-white-label-friendly)

We keep branding flexible—**no "Nova" mentions** in the UI (the menu reads "Stripe" instead). Perfect for those who customize the dashboard for clients.

#### 🚀 Welcome Dialog

[](#-welcome-dialog)

The first time a user visits the tool, a welcome message explains how to use the **"Sync With Stripe"** action. Upon closing, we save a key in localStorage so the user won’t see it again.

Screenshots
-----------

[](#screenshots)

#### Products

[](#products)

[![products](screenshots/products-index.png)](screenshots/products-index.png)[![products](screenshots/products-details.png)](screenshots/products-details.png)

#### Charges

[](#charges)

[![charges](screenshots/charges-index.png)](screenshots/charges-index.png)[![charges](screenshots/charges-details.png)](screenshots/charges-details.png)

#### Customers

[](#customers)

[![customers](screenshots/customers-index.png)](screenshots/customers-index.png)[![customers](screenshots/customers-details.png)](screenshots/customers-details.png)

#### Subscriptions

[](#subscriptions)

[![subscriptions](screenshots/subscriptions-index.png)](screenshots/subscriptions-index.png)[![subscriptions](screenshots/subscriptions-details.png)](screenshots/subscriptions-details.png)

Laravel Vapor and Other Serverless Environments
-----------------------------------------------

[](#laravel-vapor-and-other-serverless-environments)

This package uses [Laravel Sushi](https://github.com/calebporzio/sushi) by [Caleb Porzio](https://github.com/calebporzio) to store Stripe data in SQLite databases, meaning it writes to the file system.

In [Laravel Vapor](https://vapor.laravel.com/) and other environments where the file system isn’t available by default, Sushi falls back to using in-memory databases. To avoid this, [mount a persistent file system](https://docs.vapor.build/resources/storage#mounting-a-persistent-file-system) and create a Sushi configuration file to specify the storage path:

```
// config/sushi.php
