Download the PHP package mafrasil/cashier-polar without Composer
On this page you can find all versions of the php package mafrasil/cashier-polar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mafrasil/cashier-polar
More information about mafrasil/cashier-polar
Files in mafrasil/cashier-polar
Download mafrasil/cashier-polar
More information about mafrasil/cashier-polar
Files in mafrasil/cashier-polar
Vendor mafrasil
Package cashier-polar
Short Description Laravel Cashier integration for Polar.sh subscription billing services
License MIT
Homepage https://github.com/mafrasil/cashier-polar
Package cashier-polar
Short Description Laravel Cashier integration for Polar.sh subscription billing services
License MIT
Homepage https://github.com/mafrasil/cashier-polar
Please rate this library. Is it a good library?
Informations about the package cashier-polar
Disclaimer
Note: This is not an official Laravel package. This is a community-built package following Laravel Cashier principles.
Introduction
Cashier Polar provides an expressive, fluent interface to Polar's subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing.
Table of Contents
- Requirements
- Installation
- Configuration
- Basic Usage
- Setup Billable Model
- Create a Checkout Session
- Access Subscriptions
- Manage Subscriptions
- Products and Pricing
- Orders and Invoices
- Webhook Events
- Listen for Events
- Testing
- Credits
- License
Requirements
- PHP 8.3+
- Laravel 10.0+ / 11.0+
- Polar account and API credentials (https://polar.sh)
Installation
Configuration
Generate a webhook secret or grab it from your Polar Webhook settings:
Basic Usage
Setup Billable Model
Create a Checkout Session
Access Subscriptions
Manage Subscriptions
Products and Pricing
Orders and Invoices
Webhook Events
The package automatically handles these webhook events:
checkout.created
checkout.updated
order.created
subscription.created
subscription.updated
subscription.active
subscription.revoked
subscription.canceled
Listen for Events
Testing
Credits
- mafrasil
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of cashier-polar with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
guzzlehttp/guzzle Version ^7.8
illuminate/contracts Version ^10.0||^11.0
spatie/laravel-package-tools Version ^1.16
spatie/laravel-webhook-client Version ^3.4
guzzlehttp/guzzle Version ^7.8
illuminate/contracts Version ^10.0||^11.0
spatie/laravel-package-tools Version ^1.16
spatie/laravel-webhook-client Version ^3.4
The package mafrasil/cashier-polar contains the following files
Loading the files please wait ....