Download .zip |
Info | Documentation | Demos | View files (138) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2020-06-30 (23 hours ago) | Not yet rated by the users | Total: 1 This week: 1 | All time: 9,993 This week: 310 |
Version | License | PHP version | Categories | |||
coupons 1.0 | The PHP License | 5 | E-Commerce, PHP 7 |
Description | Author | |||
This package can implement an e-commerce system that supports discount coupons. Innovation Award
|
<p align="center">A flexible Coupon System with various rules and discount .</p> <p align="center"><a href="https://medium.com/@infinitypaul">Creator</a> | <a href="https://coupon-infinitypaul.herokuapp.com/">Demo</a></p>
<p> </p>
git clone https://github.com/infinitypaul/coupons.git projectname
composer install
php artisan migrate --seed
php artisan serve
> You can also install the Application via Docker:
git clone https://github.com/infinitypaul/coupons.git projectname
Sample Coupon Code With Different Rules and Discount
>> FIXED10 PERCENT10, MIXED10, REJECTED100, ABC, ABCDE
80
to another number in your docker-compose.yml
file.Enjoy!
The Find Your Service App is open-sourced software licensed under the MIT license
Files |
File | Role | Description | ||
---|---|---|---|---|
.idea (8 files, 1 directory) | ||||
.scripts (1 file) | ||||
app (7 files, 5 directories) | ||||
bootstrap (1 file) | ||||
config (13 files) | ||||
database (3 directories) | ||||
public (5 files, 2 directories) | ||||
resources (4 directories) | ||||
routes (4 files) | ||||
tests (2 files, 2 directories) | ||||
.editorconfig | Data | Auxiliary data | ||
.env.example | Data | Auxiliary data | ||
.env.testing | Data | Auxiliary data | ||
.phpstorm.meta.php | Class | Class source | ||
.styleci.yml | Data | Auxiliary data | ||
artisan | Class | Class source | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
docker-compose.yml | Data | Auxiliary data | ||
package-lock.json | Data | Auxiliary data | ||
package.json | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
Procfile | Data | Auxiliary data | ||
readme.md | Doc. | Documentation | ||
server.php | Aux. | Auxiliary script | ||
testrig.sh | Data | Auxiliary data | ||
webpack.mix.js | Data | Auxiliary data | ||
_ide_helper.php | Class | Class source |
Files | / | .idea |
File | Role | Description | ||
---|---|---|---|---|
inspectionProfiles (1 file) | ||||
39dollarglasses.iml | Data | Auxiliary data | ||
dictionaries | Data | Auxiliary data | ||
misc.xml | Data | Auxiliary data | ||
modules.xml | Data | Auxiliary data | ||
php.xml | Data | Auxiliary data | ||
symfony2.xml | Data | Auxiliary data | ||
vagrant.xml | Data | Auxiliary data | ||
vcs.xml | Data | Auxiliary data |
Files | / | app |
File | Role | Description | ||
---|---|---|---|---|
Console (1 file) | ||||
Exceptions (1 file) | ||||
Http (1 file, 4 directories) | ||||
Providers (5 files) | ||||
Traits (1 file) | ||||
Cart.php | Class | Class source | ||
Coupon.php | Class | Class source | ||
FixedValueCoupon.php | Class | Class source | ||
MinimumQuantityCoupon.php | Class | Class source | ||
PercentOffCoupon.php | Class | Class source | ||
Product.php | Class | Class source | ||
User.php | Class | Class source |
Files | / | app | / | Http |
File | Role | Description | ||
---|---|---|---|---|
Controllers (5 files, 1 directory) | ||||
Middleware (7 files) | ||||
Requests (1 file) | ||||
Resources (1 file) | ||||
Kernel.php | Class | Class source |
Files | / | app | / | Http | / | Controllers |
File | Role | Description | ||
---|---|---|---|---|
Auth (6 files) | ||||
CartController.php | Class | Class source | ||
Controller.php | Class | Class source | ||
CouponController.php | Class | Class source | ||
HomeController.php | Class | Class source | ||
ProductsController.php | Class | Class source |
Files | / | app | / | Http | / | Controllers | / | Auth |
File | Role | Description |
---|---|---|
ConfirmPasswordController.php | Class | Class source |
ForgotPasswordController.php | Class | Class source |
LoginController.php | Class | Class source |
RegisterController.php | Class | Class source |
ResetPasswordController.php | Class | Class source |
VerificationController.php | Class | Class source |
Files | / | app | / | Http | / | Middleware |
File | Role | Description |
---|---|---|
Authenticate.php | Class | Class source |
CheckForMaintenanceMode.php | Class | Class source |
EncryptCookies.php | Class | Class source |
RedirectIfAuthenticated.php | Class | Class source |
TrimStrings.php | Class | Class source |
TrustProxies.php | Class | Class source |
VerifyCsrfToken.php | Class | Class source |
Files | / | app | / | Providers |
File | Role | Description |
---|---|---|
AppServiceProvider.php | Class | Class source |
AuthServiceProvider.php | Class | Class source |
BroadcastServiceProvider.php | Class | Class source |
EventServiceProvider.php | Class | Class source |
RouteServiceProvider.php | Class | Class source |
Files | / | config |
File | Role | Description |
---|---|---|
app.php | Class | Class source |
auth.php | Class | Class source |
broadcasting.php | Aux. | Auxiliary script |
cache.php | Aux. | Auxiliary script |
database.php | Aux. | Auxiliary script |
filesystems.php | Aux. | Auxiliary script |
hashing.php | Aux. | Auxiliary script |
logging.php | Class | Class source |
mail.php | Aux. | Auxiliary script |
queue.php | Aux. | Auxiliary script |
services.php | Aux. | Auxiliary script |
session.php | Aux. | Auxiliary script |
view.php | Aux. | Auxiliary script |
Files | / | database | / | migrations |
File | Role | Description |
---|---|---|
2014_10_12_000000_create_users_table.php | Class | Class source |
2014_10_12_100000_...rd_resets_table.php | Class | Class source |
2019_08_19_000000_...iled_jobs_table.php | Class | Class source |
2019_10_16_102705_..._products_table.php | Class | Class source |
2019_10_16_102801_create_carts_table.php | Class | Class source |
2019_10_16_134839_...e_coupons_table.php | Class | Class source |
2019_10_16_164949_...e_coupons_table.php | Class | Class source |
2019_10_16_165840_...f_coupons_table.php | Class | Class source |
2019_10_16_170037_...y_coupons_table.php | Class | Class source |
Files | / | database | / | seeds |
File | Role | Description |
---|---|---|
CouponsTableSeeder.php | Class | Class source |
DatabaseSeeder.php | Class | Class source |
ProductsTableSeeder.php | Class | Class source |
RulesTableSeeder.php | Class | Class source |
Files | / | public |
File | Role | Description | ||
---|---|---|---|---|
css (1 file) | ||||
js (1 file) | ||||
.htaccess | Data | Auxiliary data | ||
index.php | Class | Class source | ||
mix-manifest.json | Data | Auxiliary data | ||
robots.txt | Doc. | Documentation | ||
web.config | Data | Auxiliary data |
Files | / | resources |
Files | / | resources | / | js |
File | Role | Description | ||
---|---|---|---|---|
components (2 files, 2 directories) | ||||
store (1 file, 2 directories) | ||||
app.js | Data | Auxiliary data | ||
bootstrap.js | Data | Auxiliary data |
Files | / | resources | / | js | / | components |
File | Role | Description | ||
---|---|---|---|---|
Layouts (2 files) | ||||
Shop (3 files) | ||||
ExampleComponent.vue | Data | Auxiliary data | ||
ShopComponent.vue | Data | Auxiliary data |
Files | / | resources | / | js | / | components | / | Layouts |
File | Role | Description |
---|---|---|
Message.vue | Data | Auxiliary data |
TopBar.vue | Data | Auxiliary data |
Files | / | resources | / | js | / | components | / | Shop |
File | Role | Description |
---|---|---|
MiniCart.vue | Data | Auxiliary data |
Product.vue | Data | Auxiliary data |
Products.vue | Data | Auxiliary data |
Files | / | resources | / | js | / | store | / | modules |
File | Role | Description |
---|---|---|
Cart.js | Data | Auxiliary data |
Coupon.js | Data | Auxiliary data |
FlashMessage.js | Data | Auxiliary data |
Products.js | Data | Auxiliary data |
Files | / | resources | / | lang | / | en |
File | Role | Description |
---|---|---|
auth.php | Aux. | Auxiliary script |
pagination.php | Aux. | Auxiliary script |
passwords.php | Aux. | Auxiliary script |
validation.php | Aux. | Auxiliary script |
Files | / | resources | / | sass |
File | Role | Description |
---|---|---|
app.scss | Data | Auxiliary data |
_variables.scss | Data | Auxiliary data |
Files | / | resources | / | views |
File | Role | Description | ||
---|---|---|---|---|
auth (3 files, 1 directory) | ||||
layouts (1 file) | ||||
home.blade.php | Aux. | Auxiliary script | ||
shop.blade.php | Aux. | Auxiliary script | ||
welcome.blade.php | Aux. | Auxiliary script |
Files | / | resources | / | views | / | auth |
File | Role | Description | ||
---|---|---|---|---|
passwords (3 files) | ||||
login.blade.php | Aux. | Auxiliary script | ||
register.blade.php | Aux. | Auxiliary script | ||
verify.blade.php | Aux. | Auxiliary script |
Files | / | resources | / | views | / | auth | / | passwords |
File | Role | Description |
---|---|---|
confirm.blade.php | Aux. | Auxiliary script |
email.blade.php | Aux. | Auxiliary script |
reset.blade.php | Aux. | Auxiliary script |
Files | / | routes |
File | Role | Description |
---|---|---|
api.php | Example | Example script |
channels.php | Example | Example script |
console.php | Example | Example script |
web.php | Example | Example script |
Files | / | tests |
File | Role | Description | ||
---|---|---|---|---|
Feature (1 file) | ||||
Unit (1 file) | ||||
CreatesApplication.php | Class | Class source | ||
TestCase.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.