javcorreia/laravel-wishlist

a wishlist for laravel
1,030 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

dive-be/laravel-wishlist

Manage your users' wishes in a Laravel app

15,038 7
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950

Version History

Version Released PHP Laravel License
5.0 ^8.3 ^13.0 MIT
4.1.1 ^8.1 ^11.0|^12.0 MIT
4.1 ^8.1 ^11.0|^12.0 MIT
4.0 ^8.1 ^11.0 MIT
3.1 ^8.0 ^5.8|^6.0|^7.0|^8.0|^9.0|^10.0 MIT