javcorreia/laravel-wishlist

a wishlist for laravel
1,017 3
Install
composer require javcorreia/laravel-wishlist
Latest Version:5.0
PHP:^8.3
License:MIT
Last Updated:Apr 2, 2026
Links: GitHub  ·  Packagist
Maintainer: Javcorreia

Laravel Wishlist

Latest Stable Version PHP Version Require License Total Downloads

A simple Wishlist implementation for Laravel |13.*

see Versions for older Laravel versions

  • saves items associated with users
  • saves items associated with sessions on anonymous navigation
  • can retrieve items from a user or session
  • session items can be retrieved and associated with user on login

Forked from Bhavinjr's laravel-wishlist with some added functionality and updated to latest Laravel and PHP versions.

Table of Contents

Versions

Version Supports Status
5.* Laravel [13]; PHP >= 8.3 current
4.* Laravel [11, 12]; PHP >= 8.1 deprecated
3.* Laravel [5.8, 10]; PHP >= 8.0 deprecated
2.2 Laravel [5.8, 9]; PHP ^7.2 deprecated
2.0 Laravel [5.8, 8]; PHP ^7.2 deprecated

Installation

Is installed via Composer by running in your project's root.

composer require javcorreia/laravel-wishlist

Publish the default configuration file:

php artisan vendor:publish --provider="javcorreia\Wishlist\Providers\WishlistServiceProvider"

Before running migration, edit the required settings using the resulting config/wishlist.php file (See Configuration).

To run migrations:

php artisan migrate

Configuration

Configuration was designed to be as flexible as changing the global configuration in the config/wishlist.php file.
You will need to provide at least, the model for the items to be wishlisted, for example:

return [
    'item_model' => App\Models\Product::class,
];

The other values can be the default ones, unless changes are needed.

After updating the config/wishlist.php file execute the following command to cache configs:

php artisan config:cache

Documentation

See DOCS.md

Testing

See TESTS.md

Related Packages

php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...

53,315 160
kavenegar/laravel

laravel 4 and 5 kavenegar integration

368,693 86
laravel-ja/laravel

The Laravel Framework.

5,667 17