Download the PHP package fzengin19/laravel-subscription-guard without Composer
On this page you can find all versions of the php package fzengin19/laravel-subscription-guard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fzengin19/laravel-subscription-guard
More information about fzengin19/laravel-subscription-guard
Files in fzengin19/laravel-subscription-guard
Package laravel-subscription-guard
Short Description This is my package laravel-subscription-guard
License MIT
Homepage https://github.com/fzengin19/laravel-subscription-guard
Informations about the package laravel-subscription-guard
Laravel Subscription Guard
Laravel Subscription Guard is a Laravel package for subscription billing, payment-provider integration, and license lifecycle management.
It combines:
- iyzico and PayTR provider adapters
- centralized billing orchestration
- webhook and callback intake
- license generation and validation
- feature and limit gating
- operational commands for renewals, dunning, plan changes, and license sync
What The Package Covers
The current package surface includes:
- provider-managed and self-managed billing paths
- subscription creation, renewal, cancellation, and scheduled plan changes
- webhook persistence, idempotency, and async finalization
- 3DS and checkout callback intake
- license activation, revocation, heartbeat, and online validation
- seat-based and metered billing support
- invoice and notification pipeline hooks
- isolated iyzico live sandbox validation
Provider Model
The package supports two billing ownership models:
iyzico: provider-managed recurring billing, with local state updated from webhook and callback resultspaytr: package-managed recurring billing, with the package running renewal and retry orchestration
See Providers for the current provider overview.
Provider-specific integration docs:
- iyzico Provider
- PayTR Provider
Install And Start
Install the package:
Then continue with:
- Installation Guide
- Quickstart
- Configuration Reference
Core Commands
The package currently exposes these core operational commands:
Route and command surface summary lives in API.
Queue Topology
Default queues are isolated by concern:
- billing jobs:
subguard-billing - webhook finalization jobs:
subguard-webhooks - notifications:
subguard-notifications
Queue names are configurable under subscription-guard.queue.
First Local Validation Path
For a safe local first-success path, start with install + migrate and then use simulated webhook intake:
That validates the local webhook intake and finalization path without requiring real provider credentials.
Testing
composer testruns the deterministic suite.composer test-liveruns the isolated iyzico sandbox suite undertests/Live.
Documentation
Getting Started
- Installation
- Quickstart
- Configuration
- FAQ
System Reference
- Architecture
- Domain Billing
- Domain Licensing
- Domain Providers
- Data Model
- Events And Jobs
Providers and Integration
- Providers
- iyzico Provider
- PayTR Provider
- Custom Provider
- API
- Webhooks
- Callbacks
- Licensing
Billing and Licensing Flows
- Dunning And Retries
- Metered Billing
- Seat-Based Billing
- Invoicing
Runtime and Operations
- Commands
- Queues And Jobs
- Security
- Troubleshooting
Testing
- Testing
- Live Sandbox
Guides and Contributor
- Recipes
- Use Cases
- Contributing
Internal planning docs live under docs/plans/.
Safety Notes
Bank installment flags and application-level recurring collection are not the same thing.
If you need true multi-period manual collection, model it as your own scheduled billing flow instead of assuming provider installment settings create that behavior automatically.
Do not put real credentials into repository docs or example files.
License
MIT
All versions of laravel-subscription-guard with dependencies
illuminate/contracts Version ^11.0||^12.0||^13.0
iyzico/iyzipay-php Version ^2.0
spatie/laravel-pdf Version 1.5||^2.0
spatie/laravel-package-tools Version ^1.16