Download the PHP package labrodev/laravel-team-paddle without Composer

On this page you can find all versions of the php package labrodev/laravel-team-paddle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-team-paddle

laravel-team-paddle

Paddle billing adapter for labrodev/laravel-team — a Cashier-Paddle implementation of the BillingClient seam, a Billable team model, and webhook-driven plan synchronization.

Requirements

Installation

Publish and run the Cashier Paddle migrations (customers, subscriptions, subscription items, transactions):

Publish the package config:

Configuration

1. Use the billable team model

Point laravel-team at the shipped Billable team model in config/team.php:

Every team the package resolves then carries Cashier's Billable surface, and the team morph alias (used by Cashier's billable_type columns) maps to it. You may also subclass BillableTeam and configure your own class instead.

2. Map plans to Paddle prices

config/team-paddle.php maps your plan enum backing values to Paddle price ids:

Plans without an entry (e.g. the free plan) cannot be checked out — StartPlanCheckout downgrades to free by cancelling the subscription instead. Attempting to check out a plan missing from the map throws PaddlePriceNotConfiguredException (an internal misconfiguration error, not a validation concern).

is the Cashier subscription type used for the single plan subscription.

3. Configure Cashier and the webhook

Follow the Cashier Paddle documentation for the Paddle API key, client-side token, sandbox mode, and — critically — the webhook: Cashier registers a /paddle/webhook route that persists subscription state and fires the Laravel\Paddle\Events\Subscription* events this package listens to. Point your Paddle notification destination at that route and set PADDLE_WEBHOOK_SECRET.

What the package wires up

Reacting to plan changes

When a webhook actually changes a team's effective plan, the package dispatches Labrodev\TeamPaddle\Events\TeamPlanSynced:

Owner notifications and similar side effects are application infrastructure — listen to this event in your app:

Testing

License

MIT — see LICENSE.md.


All versions of laravel-team-paddle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/support Version ^13.0
labrodev/laravel-team Version ^2.0
laravel/cashier-paddle Version ^2.8
spatie/laravel-package-tools Version ^1.16
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package labrodev/laravel-team-paddle contains the following files

Loading the files please wait ...