Download the PHP package chargebee/laravel-react-starter-kit without Composer
On this page you can find all versions of the php package chargebee/laravel-react-starter-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-react-starter-kit
Laravel Starter Kit for Billing with Chargebee Cashier
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:
Then, navigate to your project folder:
Environment Configuration
- Fill in the Chargebee-related
.env
variables (see.env.example
). - ⚠️ Important: Run the server on port
8080
or8443
for Chargebee checkout to work. You can do this by addingSERVER_PORT=8080
in .env file.
Initial Setup
Synchronizing Plans
Fetch your plans from Chargebee:
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:
All versions of laravel-react-starter-kit with dependencies
chargebee/cashier Version v1.1.0
dompdf/dompdf Version ^3.1
inertiajs/inertia-laravel Version ^2.0
laravel/framework Version ^12.0
laravel/tinker Version ^2.10.1
tightenco/ziggy Version ^2.4