Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 999 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 999 Bytes

Marqant Pay Subscriptions

This package is an extension of the marqant-lab/marqant-pay package and provides subscription functionality for it.

Installation

To install this package you just need to run the good old composer command that you all know and love.

composer require marqant-lab/marqant-pay-subscriptions 

Next you will need to create the migrations to hook this package up to your database. Make sure to replace the User model with whatever you use as billable. The rest of the values will be taken from the configuration of this package. You can overwrite them if you want to.

php artisan marqant-pay:migrations:subscriptions App\\User
# or
php artisan marqant-pay:migrations:subscriptions "App\\User"

Now you can run your migrations as usual to finish up the installation.

php artisan migrate

And that's it, you have extended your project with subscriptions 🤯