Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Products Favorite

Products Favorite Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Модуль избранного

Frequently asked questions about Products Favorite
How do I install baks-dev/products-favorite in a Laravel app?
Run composer require baks-dev/products-favorite from your Laravel project root. The package likely auto-registers a service provider and ships migrations; review them with php artisan migrate --pretend before running them. If config or views are published, use the products-favorite-config and products-favorite-views tags, and confirm the PHP 8.4+ requirement on your host.
Does baks-dev/products-favorite support Laravel 10, 11, or 12?
The README does not state a Laravel version constraint, and the evaluation notes conflict: some sources suggest Laravel 10+, while others mention 7.x+. Verify against your app with composer why-not baks-dev/products-favorite and test in a staging branch. Do not assume compatibility until the dependency tree resolves cleanly.
What PHP version is required for baks-dev/products-favorite?
The package requires PHP 8.4 or newer, which is a very new runtime for many production hosts. Confirm your local, CI, and production environments all run PHP 8.4+ before adopting it. If you are on PHP 8.2 or 8.3, this package is not a drop-in fit.
How do I configure and customize the product favorites module?
Publish configuration and views with vendor:publish using the products-favorite-config and products-favorite-views tags, then adjust as needed. The evaluation warns that model overrides and event hooks are unverified, so test whether customization is possible without forking. If you expect deep changes, plan for a fork used as a VCS Composer dependency.
How do I run the tests for baks-dev/products-favorite?
Run the package tests with php bin/phpunit --group=products-favorite. Test coverage is claimed but not verified in the evaluation, so add your own integration tests for add, remove, toggle, and duplicate cases. Also test authentication binding with Auth::user() and your authorization policies.
Does this package work with existing User and Product models?
The module assumes you already have User and Product models and a one-to-many user-to-favorites relationship. Confirm that assumption matches your domain model before integration. If your schema differs, expect customization work or a fork.
How does baks-dev/products-favorite handle duplicate favorites and soft deletes?
The README and evaluation do not clarify duplicate handling, race conditions, or soft-deleted users and products. Check the source for unique constraints, indexes, and query scopes, then write tests for repeated favorite actions. Treat this as a spike item before relying on it in production.
Can I use baks-dev/products-favorite with an API or frontend like Vue, React, or Livewire?
It is a backend-only Laravel module, so it can support Blade, Livewire, Inertia, or Vue and React frontends if routes or services are exposed. If no API routes exist, wrap the service layer in your own controllers. It is not designed for real-time synchronization or non-Laravel frameworks.
What are alternatives to baks-dev/products-favorite for a Laravel wishlist?
Spatie’s Wishlist is mentioned as an alternative, and a custom build is also viable. Compare total cost of ownership: this package is MIT-licensed but immature, so forking and maintenance may outweigh quick installation. Run a short spike against your real models before choosing.
Is baks-dev/products-favorite maintained and safe for production?
The package has 0 stars, 0 dependents, and effectively single-maintainer status, with a Russian-only README. It requires PHP 8.4+ and its Laravel compatibility is unclear, so production adoption carries maturity and maintenance risk. The MIT license lets you fork, but your team must own security patches and upgrades. Use a staging spike and a go/no-go decision before production.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator