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 Product

Products Product Laravel Package

baks-dev/products-product

BaksDev Product — модуль продукции для PHP 8.4+: управление продуктами и интеграция с категориями, валютами, деньгами и единицами измерения. Поддерживает установку ассетов, миграции Doctrine и тесты PHPUnit.

View on GitHub
Deep Wiki
Context7

Модуль продукции

Frequently asked questions about Products Product
What is baks-dev/products-product used for in Laravel?
BaksDev Product is a PHP 8.4+ product module for managing products and linking them to categories, currencies, money, and measurement units. In Laravel-compatible stacks it helps isolate catalog and pricing logic so it can be reused in modular monoliths or services. Use it when you need a domain-focused product layer rather than building product, category, and pricing entities from scratch. It is described as modular and suitable for domain-driven design.
How do I install baks-dev/products-product with Composer?
Install it with Composer alongside its related modules: baks-dev/products-category, baks-dev/reference-money, baks-dev/reference-currency, baks-dev/reference-measurement, and baks-dev/products-product. After installation, run php bin/console baks:assets:install to publish configuration and file assets. Then generate and apply Doctrine migrations with php bin/console doctrine:migrations:diff and php bin/console doctrine:migrations:migrate. Confirm that your environment meets the PHP 8.4+ requirement before installing.
Which Laravel and PHP versions does baks-dev/products-product support?
The package explicitly requires PHP 8.4 or newer. The provided README and overview describe Laravel ecosystem compatibility through Eloquent, Doctrine Migrations, and Symfony Console, but they do not include a specific Laravel version support matrix. Check the package composer.json constraints and test against your target Laravel release before upgrading production applications.
How do I configure baks-dev/products-product assets and database schema?
Use php bin/console baks:assets:install to install the package configuration and file resources. Manage schema changes through Doctrine migrations by running doctrine:migrations:diff to generate a migration and doctrine:migrations:migrate to apply it. Test migrations in staging first, especially if your application already has product, category, currency, money, or measurement tables. Review the generated SQL with a dry run if your workflow supports it.
How do I run the tests for baks-dev/products-product?
The README shows php bin/phpunit --group=products-product for running the package test group. Use that as a baseline in CI and add integration tests for your own product workflows, such as pricing, category assignment, and measurement handling. Because the package depends on related modules, test the combined dependency set rather than only the product module in isolation.
Is baks-dev/products-product suitable for production Laravel applications?
It can be suitable for production when you validate dependencies, migrations, and query performance in a staging environment first. Pay attention to Composer dependency conflicts, Doctrine migration conflicts, N+1 query risk in product listings, and whether you need multi-tenant catalogs. Use eager loading, query scopes, caching, and database indexes where product listings join categories, currencies, money, or measurements. Also review localization needs because documentation and labels may be Russian-centric.
How does baks-dev/products-product integrate with categories, currencies, money, and measurements?
The module is designed to integrate with baks-dev/products-category, baks-dev/reference-money, baks-dev/reference-currency, and baks-dev/reference-measurement. Those dependencies let product records connect to catalog categories and reference data for pricing and units. Install the related packages together and run the shared asset and migration commands so the relationships are available. Validate the relational schema against your own category, pricing, and unit requirements.
Can I extend baks-dev/products-product with custom attributes or relationships?
The overview suggests extensibility through repository patterns, event-driven extensions, and traits or mixins, but the exact extension points are not fully documented in the excerpt. You can likely add behavior with Laravel observers or events, custom repositories, and service classes, but validate this against the source code before committing. For attributes such as vendors or reviews, test trait composition or relationship additions without forking. Wrap critical custom logic in your own services to reduce upgrade risk.
What alternatives should I consider to baks-dev/products-product for Laravel product catalogs?
Alternatives depend on whether you want a Laravel-native Eloquent package, a Symfony/Doctrine module, or a custom domain layer. Compare feature coverage for products, categories, currencies, money, measurements, migrations, and testing, plus documentation language and extension points. If you need deep Laravel integration, evaluate packages with explicit Laravel version support and clear public APIs. If you are already using Doctrine and Symfony Console, this module may fit better than a pure Eloquent catalog package.
How is baks-dev/products-product maintained and licensed?
The README shows version 7.4.65 and an MIT license, and the repository is public on GitHub. Maintenance assessment should include release cadence, PHP 8.4 compatibility, dependency updates, and the quality of the Russian-centric documentation. Because public API documentation may be limited, plan code reviews and integration tests before relying on it long term.
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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings