Download the PHP package typicms/subscriptions without Composer
On this page you can find all versions of the php package typicms/subscriptions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package subscriptions
Subscriptions
This module is part of TypiCMS, a multilingual CMS based on the Laravel framework.
It allows you to setup a subscriptions management system based on Laravel Cashier for Mollie.
Installation
Prerequisites
- You must have a working installation of TypiCMS
- Make sure your
APP_URL
in.env
is correctly set.
Install the package
Add the service provider:
Configure your app
Add the cashier model and the mollie key in your .env
environment file:
Publish the Users module and add the BillableUser trait to the User model.
Modify the User model like this:
More information can be found here
Mass-assignement
If needed, allow the following fields to be fillable.
Run the installation script
Install Cashier and migrate the database.
Import the scss files
Edit resources/scss/public.scss
and add:
Run npm run dev
to compile the public.css file.
Configure Cashier
Configure your subscription plans in config/cashier_plans.php
.
Manage any coupons in config/cashier_coupons.php
. By default an example coupon is enabled, consider disabling it before deploying to production.
Setup your app
Create a page linked to the Subscriptions module and navigate to it.
Pre-build Plans Template
Quickly build an effective pricing table for your potential customers with the template created under /plans
and linked to the PublicController@plans
controller.
Customize Invoices
Copy the Cashier package views using the following command:
You can customize the /resources/views/vendor/cashier/
files as you like.
Tax Management
To specify the tax percentage a user pays on a subscription, edit the tax_percentage
column for the user in the database.
The displayed price on the subscription has built-in tax calculation.
Additional information
All versions of subscriptions with dependencies
mollie/laravel-cashier-mollie Version ^2.0
moneyphp/money Version ^3.3