PHPackages                             conedevelopment/bazar-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. conedevelopment/bazar-stripe

ActiveProject[Payment Processing](/categories/payments)

conedevelopment/bazar-stripe
============================

Stripe payment integration for Bazar.

v1.4.1(2mo ago)24.9kMITPHPPHP ^8.3 || ^8.4CI passing

Since Feb 1Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/conedevelopment/bazar-stripe)[ Packagist](https://packagist.org/packages/conedevelopment/bazar-stripe)[ RSS](/packages/conedevelopment-bazar-stripe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (16)Versions (24)Used By (0)

Bazar Stripe Payment Gateway
============================

[](#bazar-stripe-payment-gateway)

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

[](#installation)

```
composer require conedevelopment/bazar-stripe
```

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

[](#configuration)

### `.env`

[](#env)

```
STRIPE_TEST_MODE=
STRIPE_API_KEY=
STRIPE_SECRET=
```

### Bazar Config

[](#bazar-config)

```
    // config/bazar.php

    'gateway' => [
        'drivers' => [
            // ...
            'stripe' => [
                'test_mode' => env('STRIPE_TEST_MODE', false),
                'api_key' => env('STRIPE_API_KEY'),
                'secret' => env('STRIPE_SECRET'),
            ],
        ],
    ],

    // ...
```

Webhook Events
--------------

[](#webhook-events)

```
php artisan make:listener StripeWebhookHandler
```

```
namespace App\Listeners;

use Cone\Bazar\Stripe\WebhookInvoked;
use Stripe\Event;

class StripeWebhookHandler
{
    public function handle(WebhookInvoked $event): void
    {
        // https://stripe.com/docs/api/events/types
        $callback = match ($event->event->type) {
            'payment_intent.payment_failed' => function (Event $event): void {
                // mark transaction as failed
            },
            'payment_intent.succeeded' => function (Event $event): void {
                // mark transaction as completed and order as paid
            },
            default => function (): void {
                //
            },
        };

        call_user_func_array($callback, [$event->event]);
    }
}
```

Tip

If [Event Discovery](https://laravel.com/docs/master/events#event-discovery) is disabled, make sure the listener is bound to the `WebhookInvoked` event in your `EventServiceProvider`.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance88

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 85.2% of commits — single point of failure

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 ~35 days

Recently: every ~52 days

Total

23

Last Release

62d ago

PHP version history (2 changes)v1.0.0-betaPHP ^8.2 || ^8.3

v1.2.0PHP ^8.3 || ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/71387432?v=4)[Cone](/maintainers/conedevelopment)[@conedevelopment](https://github.com/conedevelopment)

---

Top Contributors

[![iamgergo](https://avatars.githubusercontent.com/u/6567179?v=4)](https://github.com/iamgergo "iamgergo (69 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (12 commits)")

---

Tags

bazarpayment-gatewaystripelaravelstriperootbazar

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/conedevelopment-bazar-stripe/health.svg)

```
[![Health](https://phpackages.com/badges/conedevelopment-bazar-stripe/health.svg)](https://phpackages.com/packages/conedevelopment-bazar-stripe)
```

###  Alternatives

[tightenco/nova-stripe

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

110308.9k](/packages/tightenco-nova-stripe)[simonhamp/laravel-stripe-connect

1343.1k](/packages/simonhamp-laravel-stripe-connect)[lunarphp/stripe

Stripe payment driver for Lunar.

2055.8k4](/packages/lunarphp-stripe)[tomatophp/filament-payments

Manage your payments inside FilamentPHP app with multi payment gateway integration

542.3k](/packages/tomatophp-filament-payments)[andreia/filament-stripe-payment-link

Filament action to generate a Stripe payment link

141.9k](/packages/andreia-filament-stripe-payment-link)

PHPackages © 2026

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