PHPackages                             avoutic/web-framework-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. [Framework](/categories/framework)
4. /
5. avoutic/web-framework-stripe

ActiveLibrary[Framework](/categories/framework)

avoutic/web-framework-stripe
============================

Stripe module for web-framework

3.0.0(6mo ago)0319MITPHPCI passing

Since Aug 23Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/avoutic/web-framework-stripe)[ Packagist](https://packagist.org/packages/avoutic/web-framework-stripe)[ Docs](https://web-framework.com)[ RSS](/packages/avoutic-web-framework-stripe/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

WebFramework Stripe Module
==========================

[](#webframework-stripe-module)

This module provides Stripe integration for WebFramework, offering a clean interface to interact with Stripe's API for handling payments, subscriptions, and webhooks.

Features
--------

[](#features)

- Stripe customer management
- Product and price creation
- Subscription handling
- Webhook verification
- Invoice retrieval
- Production and development environment support

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- WebFramework 8.x
- Stripe PHP SDK 7.128 or higher

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

[](#installation)

Install via Composer:

```
composer require avoutic/web-framework-stripe
```

Make sure the definitions file is included in your project by adding it to `definition_files` in your `config.php` file:

```
return [
    'definition_files' => [
        '../vendor/avoutic/web-framework/definitions/definitions.php',
        '../vendor/avoutic/web-framework-stripe/definitions/definitions.php',
        'app_definitions.php',
    ],
];
```

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

[](#configuration)

If you are using the definition from *definitions/defitinions.php*. You can just add the following *stripe.php* to your auth config directory (*config/auth*):

```
