PHPackages                             starfolksoftware/paysub - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. starfolksoftware/paysub

ActiveLibrary[Payment Processing](/categories/payments)

starfolksoftware/paysub
=======================

Provides an inteface to paystack's subscription service

v0.2.1(3y ago)21.4k[5 issues](https://github.com/starfolksoftware/paysub/issues)MITPHPPHP ^7.3|^8.0CI failing

Since Mar 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/starfolksoftware/paysub)[ Packagist](https://packagist.org/packages/starfolksoftware/paysub)[ Docs](https://github.com/starfolksoftware/paysub)[ RSS](/packages/starfolksoftware-paysub/feed)WikiDiscussions develop Synced 5d ago

READMEChangelog (10)Dependencies (23)Versions (17)Used By (0)

[![Screenshot 2021-04-09 at 10 41 43](https://user-images.githubusercontent.com/4984175/114162957-89373800-9921-11eb-8012-8ae8ff6c23fb.png)](https://user-images.githubusercontent.com/4984175/114162957-89373800-9921-11eb-8012-8ae8ff6c23fb.png)

[![GitHub Workflow Status](https://camo.githubusercontent.com/bdb5a1958de7a5441e56ff877e2cf23959bcb85f48d71213caef94b0ca8e49b5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73746172666f6c6b736f6674776172652f7061797375622f436865636b253230262532306669782532307374796c696e673f6c6162656c3d436865636b2532302532362532306669782532307374796c696e67267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/bdb5a1958de7a5441e56ff877e2cf23959bcb85f48d71213caef94b0ca8e49b5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73746172666f6c6b736f6674776172652f7061797375622f436865636b253230262532306669782532307374796c696e673f6c6162656c3d436865636b2532302532362532306669782532307374796c696e67267374796c653d666f722d7468652d6261646765)[![GitHub Workflow Status](https://camo.githubusercontent.com/cfead85e0be894d0ffbad3c651cfadd55dc98cea8df5da55e23bbde91d2e272f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73746172666f6c6b736f6674776172652f7061797375622f5073616c6d3f6c6162656c3d5073616c6d267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/cfead85e0be894d0ffbad3c651cfadd55dc98cea8df5da55e23bbde91d2e272f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73746172666f6c6b736f6674776172652f7061797375622f5073616c6d3f6c6162656c3d5073616c6d267374796c653d666f722d7468652d6261646765)[![GitHub Workflow Status](https://camo.githubusercontent.com/e10c71aeb008d7b8d0aeb096e23a437699cb5a9b19789787c62773b6f60c08d4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73746172666f6c6b736f6674776172652f7061797375622f54657374733f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/e10c71aeb008d7b8d0aeb096e23a437699cb5a9b19789787c62773b6f60c08d4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73746172666f6c6b736f6674776172652f7061797375622f54657374733f7374796c653d666f722d7468652d6261646765)[![Packagist Downloads](https://camo.githubusercontent.com/dd7ab1d13a0af3f792f1009c008375eb5acb2651d02aaefaff9cf34246638099/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746172666f6c6b736f6674776172652f7061797375623f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/dd7ab1d13a0af3f792f1009c008375eb5acb2651d02aaefaff9cf34246638099/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746172666f6c6b736f6674776172652f7061797375623f7374796c653d666f722d7468652d6261646765)[![GitHub release (latest by date)](https://camo.githubusercontent.com/921f664f9710ef4f096c2b0418d9737ace845d80b3a4446a39aeb221415abbff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f73746172666f6c6b736f6674776172652f7061797375623f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/921f664f9710ef4f096c2b0418d9737ace845d80b3a4446a39aeb221415abbff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f73746172666f6c6b736f6674776172652f7061797375623f7374796c653d666f722d7468652d6261646765)[![Packagist License](https://camo.githubusercontent.com/227bcd92fcafb11b7785063aa39a1c462da964e7487e753de64603fc4adad5e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73746172666f6c6b736f6674776172652f7061797375623f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/227bcd92fcafb11b7785063aa39a1c462da964e7487e753de64603fc4adad5e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73746172666f6c6b736f6674776172652f7061797375623f7374796c653d666f722d7468652d6261646765)[![Packagist PHP Version Support](https://camo.githubusercontent.com/deb7b2f825509d02da7676327d0109169ed64ee6e5a4768896cc8292488ae04a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73746172666f6c6b736f6674776172652f7061797375623f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/deb7b2f825509d02da7676327d0109169ed64ee6e5a4768896cc8292488ae04a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73746172666f6c6b736f6674776172652f7061797375623f7374796c653d666f722d7468652d6261646765)

Paysub offers basic subscription management for laravel applications. Currently supports only paystack for payment.

Developer Preview \[Do not user in production\]
-----------------------------------------------

[](#developer-preview-do-not-user-in-production)

This project is in Developer Preview stage, All API's might change without warning and no guarantees are given about stability. Do not use it in production.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require starfolksoftware/paysub
```

Run the migrations with:

```
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="StarfolkSoftware\Paysub\PaysubServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
