2017 © Pedro Peláez
 

library laravel-vouchering

A simple vouchering system for Laravel

image

fastwebmedia/laravel-vouchering

A simple vouchering system for Laravel

  • Friday, April 24, 2015
  • by fastwebmedia
  • Repository
  • 11 Watchers
  • 7 Stars
  • 255 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Laravel Voucher Package

Build Status, (*1)

A simple voucher package to allow for the generation of unique vouchers across multiple campaigns, packaged up with create, load, redeem, expire, and delete methods., (*2)

Installation (Laravel 5)

Here are the steps you need to take to install the package on Laravel 5. Click here for Laravel 4., (*3)

Add the package (v2.*) to your composer.json require., (*4)

composer require fastwebmedia/laravel-vouchering:2.*

Run composer update., (*5)

composer update

Add the service provider to providers array in app.php config., (*6)

'Fastwebmedia\LaravelVouchering\LaravelVoucheringServiceProvider'

Now run the publish command to copy up the package migrations for the voucher and campaign tables and then migrate to your hearts content., (*7)

vendor:publish
php artisan migrate

All done! You are now ready to set up your first voucher campaign!, (*8)

Setting up a new Campaign

Setting up a new voucher campaign is made easy using the package's campaign:create artisan command. Simply run in the terminal and follow the prompts., (*9)

php artisan campaign:create

Check your database, you should now have a new campaign., (*10)

Installation (Laravel 4)

Here are the steps you need to take to install the package on Laravel 4. Click here for Laravel 5., (*11)

Add the package (v1.*) to your composer.json require., (*12)

composer require fastwebmedia/laravel-vouchering:1.*

Run composer update., (*13)

composer update

Add the service provider to providers array in app.php config., (*14)

'Fastwebmedia\LaravelVouchering\LaravelVoucheringServiceProvider'

From the terminal run the package migrations., (*15)

php artisan migrate --package="fastwebmedia/laravel-vouchering"

All done! You are now ready to set up your first voucher campaign!, (*16)

Coming Soon...

More documentation to follow, covering all package methods for voucher creation, loading and more..., (*17)

The Versions

24/04 2015

dev-master

9999999-dev

A simple vouchering system for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fast Web Media Ltd

24/04 2015
14/04 2015
10/04 2015
25/03 2015
25/03 2015

4.0.x-dev

4.0.9999999.9999999-dev

A simple vouchering system for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fast Web Media Ltd

25/03 2015