hi-powered-dev / cake-products
A CakePHP plugin for managing product catalog(s)
v0.1.3
2025-03-29 10:11 UTC
Requires
- php: >=8.1
- cakephp/cakephp: ^5.0.1
- cakephp/migrations: ^4.0.0
- dereuromark/cakephp-tools: ^3.9
- hi-powered-dev/cheese-cake: dev-prod
Requires (Dev)
- phpunit/phpunit: ^10.1
README
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require hi-powered-dev/cake-products
Database Structure
Products belong to ProductCategories, ProductCategories is hierarchical and belongs to ProductCatalogs.
ProductCategoryAttributes belongs to ProductCategories and attributes are inherited from their parents up the category tree.
ProductCategoryAttributes can have many ProductCategoryAttributeOptions (constrained attributes)
You can either load the plugin with routes enabled to use default controller actions, or just use/extend the database structure and use your own controllers