chargebee / laravel-react-starter-kit
Laravel Starter Kit for Billing with Chargebee.
Package info
github.com/chargebee/laravel-react-starter-kit
Language:TypeScript
Type:project
pkg:composer/chargebee/laravel-react-starter-kit
Requires
- php: ^8.2
- chargebee/cashier: v1.2.0
- dompdf/dompdf: ^3.1
- inertiajs/inertia-laravel: ^2.0
- laravel/framework: ^12.0
- laravel/tinker: ^2.10.1
- tightenco/ziggy: ^2.4
Requires (Dev)
- fakerphp/faker: ^1.23
- laravel/pail: ^1.2.2
- laravel/pint: ^1.18
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- pestphp/pest: ^3.7
- pestphp/pest-plugin-laravel: ^3.1
- dev-main
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-beta.2
- v1.0.0-beta.1
- dev-snyk-fix-890c69496da73cf3ae920e5427ca0b7b
- dev-snyk-fix-f5e4216008d5a5ec8598a397933f56d1
- dev-snyk-fix-27795502b983514ad83e2348cd4285d7
- dev-snyk-fix-455ab10c37496fb53e1b09f2c5c93027
- dev-snyk-fix-20e31cd7c2bebe2312ffc624137fb860
- dev-snyk-fix-5be1652aac1158011fdad62bf459a0d7
- dev-snyk-fix-0cb77f43bce8e07551db04348811f3a3
- dev-snyk-fix-674f524ca1d897bed63a17181e67805a
- dev-snyk-fix-7df7ed7366c70132e3ad9888f324e24b
- dev-chore/cashier-bump
- dev-test
- dev-release/v1.0.1
This package is not auto-updated.
Last update: 2026-04-22 12:46:27 UTC
README
Quickly set up billing in your Laravel application using Chargebee.
Introduction
You can watch the below video for a quick video introduction of this starter kit and the Laravel Cashier for Chargebee package used in this starter kit.
Getting Started
Installation
Run the following command in your terminal:
laravel new --using=chargebee/laravel-react-starter-kit
Then, navigate to your project folder:
cd your-project-name
Environment Configuration
- Fill in the Chargebee-related
.envvariables (see.env.example). - ⚠️ Important: Run the server on port
8080or8443for Chargebee checkout to work. You can do this by addingSERVER_PORT=8080in .env file.
Initial Setup
Synchronizing Plans
Fetch your plans from Chargebee:
php artisan chargebee:fetch-plans
Webhook Configuration
Set up a webhook using either of these options:
Using Ngrok
Here is a short tutorial on getting started with Ngrok.
If ngrok gives you a URL like https://{abc}.ngrok-free.app, set your webhook URL as:
🔗 https://{abc}.ngrok-free.app/chargebee/webhook
Using Cloudflare Tunnel
Here is a short tutorial on how to configure tunnel on Cloudflare to test webhook.
If Cloudflare Tunnel gives you a URL like https://{your-tunnel-name}.trycloudflare.com, set your webhook URL as:
🔗 https://{your-tunnel-name}.trycloudflare.com/chargebee/webhook
Note: Don't forget to add this webhook URL in your Chargebee dashboard.
Running Your Application
Start the application using:
composer run dev