A straightforward interface to handle subscriptions and features consumption.
PHP >= 8.2 and Laravel 11.x or higher
git clone https://github.com/fftfaisal/jetstream-team-subscription.git
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate:fresh --seed
npm install && npm run build
php artisan serve
open the .env
file and set the following variables
STRIPE_KEY=
STRIPE_SECRET=
STRIPE_WEBHOOK_SECRET=
To setup stripe plans and features, open the config/billing.php
file and set the following variables
STRIPE_BASIC_MONTHLY_PLAN=
STRIPE_BASIC_YEARLY_PLAN=
STRIPE_PREMIUM_MONTHLY_PLAN=
STRIPE_PREMIUM_YEARLY_PLAN=
STRIPE_GOLD_MONTHLY_PLAN=
STRIPE_GOLD_YEARLY_PLAN=