santoshghimire / wishlist
There is no license information available for the latest version (dev-master) of this package.
this is simple wishlist package
dev-master
2021-09-09 04:29 UTC
This package is not auto-updated.
Last update: 2025-06-26 22:11:46 UTC
README
WISHLIST Documentation IntroductionWishlist package is intended to Store a record of future purchase plan product or item .
Hello world To Install this package you must have php version > 7 and laravel 6.* >
composer require santoshghimire/wishlist
Publish a configuration and migrations file from vendor to root
php artisan vendor:publish --tag=migrations //for migration file
php artisan vendor:publish --tag=config //for configuration file
Examples
Some Of Example Of wishlist are
Wishlist::addItem($product_id, $user_id);
Wishlist::getItem( $user_id);
Wishlist::count();
Wishlist::removeItem( $user_id);
Wishlist::removeByProduct($product_id, $user_id);
Configuration
You can define properties in config file
return [ 'model' => 'product', // this may change ]