Download the PHP package sagitarius29/laravel-subscriptions without Composer
On this page you can find all versions of the php package sagitarius29/laravel-subscriptions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sagitarius29/laravel-subscriptions
More information about sagitarius29/laravel-subscriptions
Files in sagitarius29/laravel-subscriptions
Package laravel-subscriptions
Short Description A simple package for subscriptions
License MIT
Homepage https://github.com/sagitarius29/laravel-subscriptions
Informations about the package laravel-subscriptions
Laravel Subscriptions
A simple laravel package for Subscriptions.
All ideas are welcome, please send your issue in: Send your issues in here
Installation
You can install the package via composer:
This package work in laravel 5.8 or later because Carbon is updated to 2.0.
Register Service Provider
Add Sagitarius29\LaravelSubscriptions\LaravelSubscriptionsServiceProvider::class
to your file config/app.php
Config file and migrations
Publish package config file and migrations with the following command:
Then run migrations:
Features Overview
- Create plans and his features or consumables. (consumables is in development)
- Manage your plans: get all plans, disable, delete, etc.
- Your user can subscribe to a plan.
- The user can renew, cancel, upgrade or downgrade his subscription.
- Group your plans now is very simple.
- A lot more
A few examples
Configure your User model for use subscriptions
``
Create a plan with features
An user can subscribe to a plan
Upgrade or Downgrade Subscription
``
Unsubscribe
``
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Adolfo Cuadros
- All Contributors
License
The MIT License (MIT). Please see License File for more information.