PHP Package: laravel/cashier
Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services, handling almost all of the boilerplate subscription billing code you need.
Package Description
Laravel Cashier is a powerful and flexible subscription billing system for Laravel applications. It handles subscription billing, invoicing, coupon handling, and more with ease. Laravel Cashier simplifies the process of managing subscriptions and payments, allowing you to focus on building your application. With extensive documentation and a thriving community, Laravel Cashier is the go-to solution for subscription billing in Laravel applications.
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/laravel/cashier/lib_version/autoload.php';
use Laravel\Cashier\Billable;
use Laravel\Cashier\Subscription;
use Stripe\StripeClient;
$obj = new Laravel\Cashier\Billable();
echo "✅ Example created successfully.";
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.