2017 © Pedro Peláez
 

library subscriptions

Packages for Saas web Applications. Built with Laravel Standalone Package Creator

image

cleaniquecoders/subscriptions

Packages for Saas web Applications. Built with Laravel Standalone Package Creator

  • Friday, February 10, 2017
  • by nasrulhazim.m
  • Repository
  • 2 Watchers
  • 1 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

About Your Package

Tell people about your package, (*1)

Installation

Require the package by running the following command:, (*2)

composer require cleaniquecoders/subscriptions

Open up config/app.php and add the following in the providers key:, (*3)

CleaniqueCoders\Subscriptions\SubscriptionsServiceProvider::class,

Register Subscriptions Middleware in app\Http\Kernel.php, (*4)

'subscription' => \CleaniqueCoders\Subscriptions\Http\Middleware\PackageSubscription::class,

Run the following command to register all the subscription routes in routes/web.php and publish the config/subscription.php, subscriptions views and seeds., (*5)

php artisan subscription:install

Usage

Seeder

Open up database/seeds/PackageSeeder.php and update your SaaS Packages accordingly and run php artisan db:seed --class=PackageSeeder., (*6)

Trait

You may add use CleaniqueCoders\Traits\Subscriptions\User as Subscription; in your User model class to enable relationship between user and subscribed package., (*7)

Middleware

Route::group(['middleware' => ['auth', 'subscription']], function () {
            Route::resource('secrets', 'YourSecretController');
});

License

This package is open-sourced software licensed under the MIT license., (*8)

The Versions

10/02 2017

v1.0.3

1.0.3.0

Packages for Saas web Applications. Built with Laravel Standalone Package Creator

  Sources   Download

MIT

The Requires

 

by Nasrul Hazim

19/12 2016

dev-master

9999999-dev

Packages for Saas web Applications. Built with Laravel Standalone Package Creator

  Sources   Download

MIT

The Requires

 

by Nasrul Hazim

19/12 2016

v1.0.2

1.0.2.0

Packages for Saas web Applications. Built with Laravel Standalone Package Creator

  Sources   Download

MIT

The Requires

 

by Nasrul Hazim

19/12 2016

v1.0.1

1.0.1.0

Packages for Saas web Applications. Built with Laravel Standalone Package Creator

  Sources   Download

MIT

The Requires

 

by Nasrul Hazim

19/12 2016

v1.0.0

1.0.0.0

Packages for Saas web Applications. Built with Laravel Standalone Package Creator

  Sources   Download

MIT

The Requires

 

by Nasrul Hazim