├── LICENSE.txt ├── changes.md ├── composer.json ├── config └── billing.php ├── contributors.md ├── database └── migrations │ ├── 2017_01_27_000000_create_billing_cards_table.php │ ├── 2017_01_27_000000_create_billing_charges_table.php │ ├── 2017_01_27_000000_create_billing_coupons_table.php │ ├── 2017_01_27_000000_create_billing_customers_table.php │ ├── 2017_01_27_000000_create_billing_discounts_table.php │ ├── 2017_01_27_000000_create_billing_disputes_table.php │ ├── 2017_01_27_000000_create_billing_invoice_items_table.php │ ├── 2017_01_27_000000_create_billing_invoices_table.php │ ├── 2017_01_27_000000_create_billing_line_items_table.php │ ├── 2017_01_27_000000_create_billing_metadata_table.php │ ├── 2017_01_27_000000_create_billing_plans_table.php │ ├── 2017_01_27_000000_create_billing_refunds_table.php │ ├── 2017_01_27_000000_create_billing_subscription_items_table.php │ └── 2017_01_27_000000_create_billing_subscriptions_table.php ├── readme.md ├── routes └── webhook.php └── src ├── Billing.php ├── Console └── Commands │ ├── BootstrapCommand.php │ ├── ClearCommand.php │ ├── LinkCommand.php │ └── SyncCommand.php ├── Events └── BillingEvent.php ├── Exceptions └── BillingException.php ├── Facades └── Billing.php ├── Http └── Middleware │ ├── CanCancelSubscription.php │ ├── CanCreateCard.php │ ├── CanCreateDiscount.php │ ├── CanCreateSubscription.php │ ├── CanDeleteCard.php │ ├── CanDeleteDiscount.php │ ├── CanRetrieveInvoice.php │ ├── CanUpdateCard.php │ └── CanUpdateSubscription.php ├── Models ├── CardModel.php ├── ChargeModel.php ├── CouponModel.php ├── CustomerModel.php ├── DiscountModel.php ├── DisputeModel.php ├── InvoiceItemModel.php ├── InvoiceModel.php ├── LineItemModel.php ├── MetadataModel.php ├── PlanModel.php ├── RefundModel.php ├── SubscriptionItemModel.php └── SubscriptionModel.php ├── Providers └── BillingServiceProvider.php └── Traits ├── CardTrait.php ├── ChargeTrait.php ├── CouponTrait.php ├── CustomerTrait.php ├── DiscountTrait.php ├── DisputeTrait.php ├── InvoiceItemTrait.php ├── InvoiceTrait.php ├── LineItemTrait.php ├── PlanTrait.php ├── RefundTrait.php ├── SubscriptionItemTrait.php ├── SubscriptionTrait.php ├── SyncTrait.php ├── UserTrait.php └── WebhookTrait.php /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /changes.md: -------------------------------------------------------------------------------- 1 | # Billing Change Log 2 | 3 | ## Version 1.0.0 4 | 5 | - Initial release -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/composer.json -------------------------------------------------------------------------------- /config/billing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/config/billing.php -------------------------------------------------------------------------------- /contributors.md: -------------------------------------------------------------------------------- 1 | # Contributors 2 | 3 | Your name here! -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_cards_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_cards_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_charges_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_charges_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_coupons_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_coupons_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_customers_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_customers_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_discounts_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_discounts_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_disputes_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_disputes_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_invoice_items_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_invoice_items_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_invoices_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_invoices_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_line_items_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_line_items_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_metadata_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_metadata_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_plans_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_plans_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_refunds_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_refunds_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_subscription_items_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_subscription_items_table.php -------------------------------------------------------------------------------- /database/migrations/2017_01_27_000000_create_billing_subscriptions_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/database/migrations/2017_01_27_000000_create_billing_subscriptions_table.php -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/readme.md -------------------------------------------------------------------------------- /routes/webhook.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/routes/webhook.php -------------------------------------------------------------------------------- /src/Billing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Billing.php -------------------------------------------------------------------------------- /src/Console/Commands/BootstrapCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Console/Commands/BootstrapCommand.php -------------------------------------------------------------------------------- /src/Console/Commands/ClearCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Console/Commands/ClearCommand.php -------------------------------------------------------------------------------- /src/Console/Commands/LinkCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Console/Commands/LinkCommand.php -------------------------------------------------------------------------------- /src/Console/Commands/SyncCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Console/Commands/SyncCommand.php -------------------------------------------------------------------------------- /src/Events/BillingEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Events/BillingEvent.php -------------------------------------------------------------------------------- /src/Exceptions/BillingException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Exceptions/BillingException.php -------------------------------------------------------------------------------- /src/Facades/Billing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Facades/Billing.php -------------------------------------------------------------------------------- /src/Http/Middleware/CanCancelSubscription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Http/Middleware/CanCancelSubscription.php -------------------------------------------------------------------------------- /src/Http/Middleware/CanCreateCard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Http/Middleware/CanCreateCard.php -------------------------------------------------------------------------------- /src/Http/Middleware/CanCreateDiscount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Http/Middleware/CanCreateDiscount.php -------------------------------------------------------------------------------- /src/Http/Middleware/CanCreateSubscription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Http/Middleware/CanCreateSubscription.php -------------------------------------------------------------------------------- /src/Http/Middleware/CanDeleteCard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Http/Middleware/CanDeleteCard.php -------------------------------------------------------------------------------- /src/Http/Middleware/CanDeleteDiscount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Http/Middleware/CanDeleteDiscount.php -------------------------------------------------------------------------------- /src/Http/Middleware/CanRetrieveInvoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Http/Middleware/CanRetrieveInvoice.php -------------------------------------------------------------------------------- /src/Http/Middleware/CanUpdateCard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Http/Middleware/CanUpdateCard.php -------------------------------------------------------------------------------- /src/Http/Middleware/CanUpdateSubscription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Http/Middleware/CanUpdateSubscription.php -------------------------------------------------------------------------------- /src/Models/CardModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/CardModel.php -------------------------------------------------------------------------------- /src/Models/ChargeModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/ChargeModel.php -------------------------------------------------------------------------------- /src/Models/CouponModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/CouponModel.php -------------------------------------------------------------------------------- /src/Models/CustomerModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/CustomerModel.php -------------------------------------------------------------------------------- /src/Models/DiscountModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/DiscountModel.php -------------------------------------------------------------------------------- /src/Models/DisputeModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/DisputeModel.php -------------------------------------------------------------------------------- /src/Models/InvoiceItemModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/InvoiceItemModel.php -------------------------------------------------------------------------------- /src/Models/InvoiceModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/InvoiceModel.php -------------------------------------------------------------------------------- /src/Models/LineItemModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/LineItemModel.php -------------------------------------------------------------------------------- /src/Models/MetadataModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/MetadataModel.php -------------------------------------------------------------------------------- /src/Models/PlanModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/PlanModel.php -------------------------------------------------------------------------------- /src/Models/RefundModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/RefundModel.php -------------------------------------------------------------------------------- /src/Models/SubscriptionItemModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/SubscriptionItemModel.php -------------------------------------------------------------------------------- /src/Models/SubscriptionModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Models/SubscriptionModel.php -------------------------------------------------------------------------------- /src/Providers/BillingServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Providers/BillingServiceProvider.php -------------------------------------------------------------------------------- /src/Traits/CardTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/CardTrait.php -------------------------------------------------------------------------------- /src/Traits/ChargeTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/ChargeTrait.php -------------------------------------------------------------------------------- /src/Traits/CouponTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/CouponTrait.php -------------------------------------------------------------------------------- /src/Traits/CustomerTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/CustomerTrait.php -------------------------------------------------------------------------------- /src/Traits/DiscountTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/DiscountTrait.php -------------------------------------------------------------------------------- /src/Traits/DisputeTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/DisputeTrait.php -------------------------------------------------------------------------------- /src/Traits/InvoiceItemTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/InvoiceItemTrait.php -------------------------------------------------------------------------------- /src/Traits/InvoiceTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/InvoiceTrait.php -------------------------------------------------------------------------------- /src/Traits/LineItemTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/LineItemTrait.php -------------------------------------------------------------------------------- /src/Traits/PlanTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/PlanTrait.php -------------------------------------------------------------------------------- /src/Traits/RefundTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/RefundTrait.php -------------------------------------------------------------------------------- /src/Traits/SubscriptionItemTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/SubscriptionItemTrait.php -------------------------------------------------------------------------------- /src/Traits/SubscriptionTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/SubscriptionTrait.php -------------------------------------------------------------------------------- /src/Traits/SyncTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/SyncTrait.php -------------------------------------------------------------------------------- /src/Traits/UserTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/UserTrait.php -------------------------------------------------------------------------------- /src/Traits/WebhookTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylercubell/billing/HEAD/src/Traits/WebhookTrait.php --------------------------------------------------------------------------------