santoshghimire / wishlist
this is simple wishlist package
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/santoshghimire/wishlist
This package is not auto-updated.
Last update: 2025-12-26 01:04:17 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 ]