Download the PHP package smariqislam/coupon without Composer
On this page you can find all versions of the php package smariqislam/coupon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package coupon
Coupon Management Package
This package will manage coupons and also create api routes to manage coupons.
Requirements
This package can only use as a library. You can use it in your laravel framework using version 9 and above
Installation
composer require smariqislam/coupon
-
Publish config file using
php artisan vendor:publish --tag=coupon-config
- This will publish a config file to
config/coupon.php
- Set configuration according to system
- This will publish a config file to
- Run
php artisan migrate
Routes
Facde Accesor
Method | Params | Response |
---|---|---|
Coupon::getCouponByCode($couponCode) |
coupon code |
Coupon object / false |
Coupon::applyCouponToProduct($coupon, $productId) |
Coupon object , Your product id |
false / array of data |
Developed By
S M Ariq Islam
+8801726036271
[email protected]
All versions of coupon with dependencies
PHP Build Version
Package Version
The package smariqislam/coupon contains the following files
Loading the files please wait ....