baks-dev/products-favorite
A Laravel/PHP module that adds a product favorites (wishlist) feature to your application. Install via Composer with baks-dev/products-favorite. Requires PHP 8.4+ and is released under the MIT license. Tests run with phpunit using the products-favorite group.
composer require, wire to existing User/Product models.Reasonable to evaluate when:
User and Product (or an equivalent) models already exist — the module assumes both and documents neither.Look elsewhere or build when:
To executives — one paragraph: "We can test a 'save for later / wishlist' capability for roughly a 1–2 day engineering spike instead of a multi-week build, using an MIT-licensed open-source module that drops into our existing PHP stack. It's forkable, so there's no vendor lock-in and the worst case is that we own a small piece of code we'd have written anyway. The reason to do it is less the button and more the signal: saved items tell us what people want but didn't buy, which feeds back-in-stock alerts and lifecycle messaging. The honest caveat is that the project is small and unproven — no external adoption, no English documentation — so I'm recommending we evaluate it on a secondary surface first and hold the primary funnel until the spike clears. Ask: approve the spike and a scoped pilot, not a platform commitment."
To engineering — the short version:
composer require baks-dev/products-favorite, run migrations, bind to existing User/Product. Backend only; no UI, no routes we're obliged to keep.php bin/phpunit --group=products-favorite) and note actual coverage.How can I help you explore Laravel packages today?