Token导航 LogoToken导航

Agent Skill · 研究检索

laravel-cashier-paddle(Laravel cashier paddle 搜索)

laravel-cashier-paddle 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

laravel-cashier-paddle 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 60,816。

总安装 364周安装 15GitHub Stars 公开资料未说明下载 119核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:laravel-cashier-paddle(Laravel cashier paddle 搜索)
来源仓库:https://github.com/microck/ordinary-claude-skills
仓库路径:skills/laravel-cashier-paddle
安装命令:
npx skills add microck/ordinary-claude-skills --skill "laravel-cashier-paddle"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add microck/ordinary-claude-skills --skill "laravel-cashier-paddle"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

Laravel Cashier Paddle 集成工具,用于订阅计费与支付流程管理。适合在 AI 宿主中辅助 SaaS 产品收入模型设计与支付接口对接。通过 npx skills add 命令从 GitHub 安装,具体配置参考原始仓库说明。

使用前应确认 Paddle 账户权限与 webhook 安全设置,防范支付风险。laravel-cashier-paddle 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/laravel-cashier-paddle

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add microck/ordinary-claude-skills --skill "laravel-cashier-paddle";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

laravel-cashier-paddle 怎么安装?

在终端执行 npx skills add microck/ordinary-claude-skills --skill "laravel-cashier-paddle"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

laravel-cashier-paddle 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

laravel-cashier-paddle 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

laravel-cashier-paddle 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

laravel-cashier-paddle 用的人多吗?

公开数据是累计安装 364 次,近一周安装 15 次,下载 119 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

laravel-cashier-paddle 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
laravel-cashier-paddle

Laravel cashier paddle 搜索 · 本页

364—需要联网MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
laravel-cashier-paddle
description
Laravel Cashier (Paddle) - Subscription billing and payment processing

Laravel Cashier (Paddle) Skill

Comprehensive assistance with Laravel Cashier Paddle - an expressive, fluent interface to Paddle's subscription billing services for Laravel applications.

When to Use This Skill

This skill should be triggered when:

  • Implementing subscription billing with Paddle in Laravel applications
  • Setting up checkout flows for products or subscriptions
  • Managing subscription lifecycle (create, swap, pause, cancel)
  • Handling webhook events from Paddle
  • Working with customer management and payment methods
  • Implementing trial periods or multi-product subscriptions
  • Processing transactions, refunds, or credits
  • Generating invoices or receipts
  • Previewing prices with currency/tax calculations
  • Debugging Paddle integration issues in Laravel

Quick Reference

1. Basic Setup - Billable Model

use Laravel\Paddle\Billable;

class User extends Authenticatable
{
    use Billable;

    public function paddleName(): string|null
    {
        return $this->name;
    }

    public function paddleEmail(): string|null
    {
        return $this->email;
    }
}

2. Simple Product Checkout

// Create checkout session
$checkout = $user->checkout('pri_deluxe_album')
    ->returnTo(route('dashboard'));

// Display checkout button
<x-paddle-button :checkout="$checkout" class="px-8 py-4">
    Subscribe
</x-paddle-button>

3. Subscription Creation

// Single subscription
$checkout = $user->subscribe('price_basic_monthly', 'default')
    ->returnTo(route('home'));

// Multi-product subscription
$checkout = $user->subscribe([
    'price_monthly',
    'price_chat' => 5  // with quantity
]);

4. Price Preview with Tax

use Laravel\Paddle\Cashier;

// Preview prices for country
$prices = Cashier::previewPrices(['pri_123', 'pri_456'], [
    'address' => ['country_code' => 'BE', 'postal_code' => '1234']
]);

// Display in Blade
@foreach ($prices as $price)
    <li>{{ $price->product['name'] }} - {{ $price->total() }}</li>
    <li>Subtotal: {{ $price->subtotal() }} + Tax: {{ $price->tax() }}</li>
@endforeach

5. Subscription Status Checks

// Check various subscription states
if ($user->subscribed()) { }
if ($user->subscribed('default')) { }
if ($user->subscribedToProduct('pro_basic')) { }
if ($user->subscription()->onTrial()) { }
if ($user->subscription()->onGracePeriod()) { }
if ($user->subscription()->canceled()) { }
if ($user->subscription()->pastDue()) { }

6. Plan Swapping

// Immediate swap with proration
$user->subscription()->swap('pri_456');

// Swap and invoice immediately
$user->subscription()->swapAndInvoice('pri_456');

// Swap without proration
$user->subscription()->noProrate()->swap('pri_456');

7. Subscription Quantity Management

// Increment/decrement quantity
$user->subscription()->incrementQuantity();
$user->subscription()->incrementQuantity(5);
$user->subscription()->decrementQuantity();

// Set specific quantity
$user->subscription()->updateQuantity(10);

// Multi-product quantity
$user->subscription()->incrementQuantity(1, 'price_chat');

8. Pause and Resume Subscriptions

// Pause at period end
$user->subscription()->pause();

// Pause immediately
$user->subscription()->pauseNow();

// Pause until specific date
$user->subscription()->pauseUntil(now()->addMonth());

// Resume paused subscription
$user->subscription()->resume();

9. Webhook Event Handling

use Laravel\Paddle\Events\WebhookReceived;
use Laravel\Paddle\Events\TransactionCompleted;

// Listen for specific events
Event::listen(TransactionCompleted::class, function ($event) {
    $transaction = $event->transaction;
    // Process completed transaction
});

// Handle custom webhook events
public function handle(WebhookReceived $event): void
{
    if ($event->payload['event_type'] === 'transaction.billed') {
        // Handle custom event
    }
}

10. Transaction Management

// Retrieve transactions
$transactions = $user->transactions;

// Refund with specific items
$response = $transaction->refund('Accidental charge', [
    'pri_123',
    'pri_456' => 200  // partial refund amount
]);

// Full refund
$response = $transaction->refund('Customer request');

// Download invoice PDF
return $transaction->redirectToInvoicePdf();

Key Concepts

Checkout Sessions

Cashier Paddle uses checkout sessions to initiate payments. Sessions can be for one-time products, subscriptions, or guest checkouts. They support both overlay and inline display modes.

Billable Models

Any Eloquent model can become "billable" by using the Billable trait. This adds subscription and payment methods to your models (typically the User model).

Subscriptions

Subscriptions represent recurring billing arrangements. They can have multiple products, quantities, trial periods, and various lifecycle states (active, paused, canceled, on grace period).

Transactions

Transactions represent completed payments. They include invoice data, line items, tax information, and support refunds/credits.

Webhooks

Paddle sends webhook events for important subscription and payment events. Cashier automatically handles webhook signature verification and provides Laravel events for common webhook types.

Proration

When swapping plans or changing quantities, Cashier can automatically calculate prorated amounts or you can disable proration using noProrate().

Grace Periods

When subscriptions are paused or canceled, they remain active until the end of the current billing period. This is called a "grace period" - the subscription is technically paused/canceled but still accessible.

Reference Files

This skill includes comprehensive documentation in references/:

  • other.md - Complete Laravel Cashier Paddle documentation including:

- Installation and configuration steps - Checkout session creation (overlay, inline, guest) - Customer management and defaults - Subscription operations (create, swap, pause, cancel) - Multi-product and multi-subscription support - Trial period management - Quantity management and proration - Webhook configuration and event handling - Transaction history, refunds, and credits - Invoice generation and downloads - Middleware examples for subscription protection

Use view to read the reference file when detailed information is needed.

Working with This Skill

For Beginners

  1. Start by understanding the Billable trait and how to add it to your User model
  2. Learn basic checkout creation for simple product purchases
  3. Study subscription creation patterns for recurring billing
  4. Understand environment configuration (sandbox vs production)

For Intermediate Users

  1. Implement subscription lifecycle management (pause, resume, cancel)
  2. Work with plan swapping and proration logic
  3. Handle webhook events for subscription updates
  4. Implement trial periods with or without upfront payment
  5. Manage multi-product subscriptions with quantities

For Advanced Users

  1. Build custom subscription middleware for route protection
  2. Implement multi-subscription support for different product lines
  3. Create transaction refund and credit workflows
  4. Customize invoice generation and delivery
  5. Build subscription analytics using query scopes
  6. Handle payment method updates with redirect flows

Navigation Tips

  • Use the Quick Reference above for common code patterns
  • Check references/other.md for complete API documentation
  • Search for specific methods like swap(), pause(), or refund()
  • Webhook events are documented with their payload structure
  • All code examples include proper error handling context

Common Patterns

Subscription Protection Middleware

namespace App\Http\Middleware;

class Subscribed
{
    public function handle(Request $request, Closure $next): Response
    {
        if (!$request->user()?->subscribed()) {
            return redirect('/subscribe');
        }
        return $next($request);
    }
}

Route::get('/dashboard', fn () => '...')->middleware([Subscribed::class]);

Trial Management

// With payment method up front
$checkout = $user->subscribe('pri_monthly')
    ->returnTo(route('home'));

// Without payment method (generic trial)
$user->createAsCustomer(['trial_ends_at' => now()->addDays(10)]);

// Extend existing trial
$user->subscription()->extendTrial(now()->addDays(5));

// Activate trial early
$user->subscription()->activate();

Guest Checkout

use Laravel\Paddle\Checkout;

$checkout = Checkout::guest(['pri_34567'])
    ->returnTo(route('home'));

Environment Configuration

PADDLE_CLIENT_SIDE_TOKEN=your-paddle-client-side-token
PADDLE_API_KEY=your-paddle-api-key
PADDLE_RETAIN_KEY=your-paddle-retain-key
PADDLE_WEBHOOK_SECRET="your-paddle-webhook-secret"
PADDLE_SANDBOX=true
CASHIER_CURRENCY_LOCALE=nl_BE

Available Webhook Events

  • CustomerUpdated - Customer information changed
  • TransactionCompleted - Payment completed successfully
  • TransactionUpdated - Transaction details changed
  • SubscriptionCreated - New subscription created
  • SubscriptionUpdated - Subscription modified
  • SubscriptionPaused - Subscription paused
  • SubscriptionCanceled - Subscription canceled

Subscription Query Scopes

// Filter subscriptions by status
Subscription::query()->valid();
Subscription::query()->onTrial();
Subscription::query()->active();
Subscription::query()->canceled();
Subscription::query()->paused();
Subscription::query()->onGracePeriod();

Resources

Official Documentation

  • Laravel Cashier Paddle Docs: https://laravel.com/docs/cashier-paddle
  • Paddle Developer Portal: https://developer.paddle.com/

references/

Organized documentation extracted from official sources containing:

  • Detailed API method explanations
  • Complete code examples with context
  • Webhook payload structures
  • Configuration options
  • Best practices and patterns

scripts/

Add helper scripts here for:

  • Webhook testing utilities
  • Subscription migration scripts
  • Invoice batch generation

assets/

Add templates or examples:

  • Checkout page templates
  • Email notification templates
  • Subscription management UI components

Notes

  • This skill was automatically generated from official Laravel Cashier Paddle documentation
  • All code examples are tested patterns from the official docs
  • Webhook handling includes automatic CSRF protection exemption
  • Sandbox mode is enabled by default for development
  • Price previews include automatic tax calculation based on customer location
  • Subscriptions support both immediate and grace period cancellations
  • Multi-product subscriptions allow different quantities per product

Updating

To refresh this skill with updated documentation:

  1. Re-run the scraper with the same configuration
  2. The skill will be rebuilt with the latest information from Laravel docs
  3. New features and API changes will be automatically incorporated

平台分布

trae

29.33%
按下载量换算35

Antigravity

23.04%
按下载量换算27

windsurf

14.79%
按下载量换算18

Claude Code

10.91%
按下载量换算13

Codex

6.7%
按下载量换算8

Gemini CLI

3.4%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills