├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── public └── .gitkeep ├── src ├── Mmanos │ └── Billing │ │ ├── BillingServiceProvider.php │ │ ├── CustomerBillableTrait.php │ │ ├── CustomerBillableTrait │ │ ├── Billing.php │ │ ├── Charge.php │ │ ├── Charges.php │ │ ├── Creditcard.php │ │ ├── Creditcards.php │ │ ├── Invoice.php │ │ ├── InvoiceItem.php │ │ ├── Invoices.php │ │ └── Subscriptions.php │ │ ├── EloquentBillableRepository.php │ │ ├── Facades │ │ └── Billing.php │ │ ├── Gateways │ │ ├── Braintree │ │ │ ├── Card.php │ │ │ ├── Charge.php │ │ │ ├── Customer.php │ │ │ ├── Gateway.php │ │ │ ├── Invoice.php │ │ │ ├── Subscription.php │ │ │ └── WebhookController.php │ │ ├── CardInterface.php │ │ ├── ChargeInterface.php │ │ ├── CustomerInterface.php │ │ ├── GatewayInterface.php │ │ ├── InvoiceInterface.php │ │ ├── Local │ │ │ ├── Card.php │ │ │ ├── Charge.php │ │ │ ├── Customer.php │ │ │ ├── Gateway.php │ │ │ ├── Invoice.php │ │ │ ├── Models │ │ │ │ ├── Card.php │ │ │ │ ├── Charge.php │ │ │ │ ├── Coupon.php │ │ │ │ ├── Customer.php │ │ │ │ ├── Invoice.php │ │ │ │ ├── Invoice │ │ │ │ │ └── Item.php │ │ │ │ ├── Plan.php │ │ │ │ ├── Subscription.php │ │ │ │ └── migration.php │ │ │ └── Subscription.php │ │ ├── Stripe │ │ │ ├── Card.php │ │ │ ├── Charge.php │ │ │ ├── Customer.php │ │ │ ├── Gateway.php │ │ │ ├── Invoice.php │ │ │ ├── Subscription.php │ │ │ └── WebhookController.php │ │ ├── SubscriptionInterface.php │ │ └── WebhookController.php │ │ ├── Stubs │ │ ├── CustomerMigration.stub │ │ └── SubscriptionMigration.stub │ │ ├── SubscriptionBillableTrait.php │ │ └── SubscriptionBillableTrait │ │ └── Subscription.php ├── commands │ ├── CustomerTableCommand.php │ ├── LocalCreateCouponCommand.php │ ├── LocalCreatePlanCommand.php │ └── SubscriptionTableCommand.php ├── config │ └── config.php ├── controllers │ └── .gitkeep ├── lang │ └── .gitkeep ├── migrations │ └── .gitkeep └── views │ └── invoice.blade.php └── tests └── .gitkeep /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/composer.json -------------------------------------------------------------------------------- /public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Mmanos/Billing/BillingServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/BillingServiceProvider.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait/Billing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait/Billing.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait/Charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait/Charge.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait/Charges.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait/Charges.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait/Creditcard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait/Creditcard.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait/Creditcards.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait/Creditcards.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait/Invoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait/Invoice.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait/InvoiceItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait/InvoiceItem.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait/Invoices.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait/Invoices.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/CustomerBillableTrait/Subscriptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/CustomerBillableTrait/Subscriptions.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/EloquentBillableRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/EloquentBillableRepository.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Facades/Billing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Facades/Billing.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Braintree/Card.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Braintree/Card.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Braintree/Charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Braintree/Charge.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Braintree/Customer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Braintree/Customer.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Braintree/Gateway.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Braintree/Gateway.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Braintree/Invoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Braintree/Invoice.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Braintree/Subscription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Braintree/Subscription.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Braintree/WebhookController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Braintree/WebhookController.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/CardInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/CardInterface.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/ChargeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/ChargeInterface.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/CustomerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/CustomerInterface.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/GatewayInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/GatewayInterface.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/InvoiceInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/InvoiceInterface.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Card.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Card.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Charge.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Customer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Customer.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Gateway.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Gateway.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Invoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Invoice.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Models/Card.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Models/Card.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Models/Charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Models/Charge.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Models/Coupon.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Models/Coupon.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Models/Customer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Models/Customer.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Models/Invoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Models/Invoice.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Models/Invoice/Item.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Models/Invoice/Item.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Models/Plan.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Models/Plan.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Models/Subscription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Models/Subscription.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Models/migration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Models/migration.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Local/Subscription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Local/Subscription.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Stripe/Card.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Stripe/Card.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Stripe/Charge.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Stripe/Charge.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Stripe/Customer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Stripe/Customer.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Stripe/Gateway.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Stripe/Gateway.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Stripe/Invoice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Stripe/Invoice.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Stripe/Subscription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Stripe/Subscription.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/Stripe/WebhookController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/Stripe/WebhookController.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/SubscriptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/SubscriptionInterface.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Gateways/WebhookController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Gateways/WebhookController.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/Stubs/CustomerMigration.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Stubs/CustomerMigration.stub -------------------------------------------------------------------------------- /src/Mmanos/Billing/Stubs/SubscriptionMigration.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/Stubs/SubscriptionMigration.stub -------------------------------------------------------------------------------- /src/Mmanos/Billing/SubscriptionBillableTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/SubscriptionBillableTrait.php -------------------------------------------------------------------------------- /src/Mmanos/Billing/SubscriptionBillableTrait/Subscription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/Mmanos/Billing/SubscriptionBillableTrait/Subscription.php -------------------------------------------------------------------------------- /src/commands/CustomerTableCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/commands/CustomerTableCommand.php -------------------------------------------------------------------------------- /src/commands/LocalCreateCouponCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/commands/LocalCreateCouponCommand.php -------------------------------------------------------------------------------- /src/commands/LocalCreatePlanCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/commands/LocalCreatePlanCommand.php -------------------------------------------------------------------------------- /src/commands/SubscriptionTableCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/commands/SubscriptionTableCommand.php -------------------------------------------------------------------------------- /src/config/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/config/config.php -------------------------------------------------------------------------------- /src/controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lang/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/views/invoice.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmanos/laravel-billing/HEAD/src/views/invoice.blade.php -------------------------------------------------------------------------------- /tests/.gitkeep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------