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.

Current Version:
Last Updated:
PHP Requirement: >=7.1
Dependencies: laravel/framework, stripe/stripe-php
⚠️ To ensure full functionality, the above dependencies might be required.

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.

🔗 View on GitHub

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.