Skip to main content

Subscriptions

This module adds subscriptions which can be automatically invoiced using qore/invoicing. For this process it takes a product from qore/products and an organization from qore/crm to fill in the required fields. Subscriptions can be also be invoiced manually. A subscription can be configured with various options, like the payment term or discount. The invoicing periodicity is used as an interval for how often invoices are created, varying from once every month to once every two years.

Resources

This module adds the following resources:

  • Subscriptions

Installation

To install this module:

This module depends on qore/invoicing and qore/crm. Make sure to install, publish and migrate those and all their dependencies.

composer require qore/subscriptions
php artisan vendor:publish --tag=qore.subscriptions.config
php artisan vendor:publish --tag=qore.subscriptions.db

To upgrade this module:

composer update qore/subscriptions

If you need to upgrade migrations:

php artisan vendor:publish --tag=qore.subscriptions.db --force

Commands

This module provides the qore:subscriptions:check-subscriptions command to handle automatic generation and cancellation of subscriptions. This command is scheduled within the module to be executed every hour.