Download the PHP package ttpryg/catalog-engine without Composer
On this page you can find all versions of the php package ttpryg/catalog-engine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ttpryg/catalog-engine
More information about ttpryg/catalog-engine
Files in ttpryg/catalog-engine
Download ttpryg/catalog-engine
More information about ttpryg/catalog-engine
Files in ttpryg/catalog-engine
Vendor ttpryg
Package catalog-engine
Short Description A framework-agnostic standalone product catalog and inventory engine library for PHP.
License MIT
Package catalog-engine
Short Description A framework-agnostic standalone product catalog and inventory engine library for PHP.
License MIT
Please rate this library. Is it a good library?
Informations about the package catalog-engine
CatalogEngine Library
ttpryg/catalog-engine is a framework-agnostic standalone PHP library for product catalog management, variants, inventory/stock management, pricing calculations, physical dimensions (weight/shipping), and hierarchical product categories.
🌟 Key Features
- Framework Agnostic: Compatible with any PHP 8.1+ project (Vanilla PHP, Slim, Laravel, Symfony, CodeIgniter).
- Comprehensive E-Commerce Product Schema:
- Multi-tenant support with
store_idandowner_idscoping (findByStoreId,findByOwnerId). productstable with SKU, barcode, price, sale price (harga coret), COGS cost price, stock, min stock threshold, weight (grams), dimensions (cm), and attributes JSON.product_variantstable for variant attributes (Color, Size, SKU override, Price override).product_categories&product_category_pivottables for parent-child category hierarchy.
- Multi-tenant support with
- Value Objects & Sale Price Helpers:
Price: Calculate effective price, sale discounts (getDiscountPercentage()), and currency formatting.ProductEntity Helpers:$product->isOnSale(),$product->getEffectivePrice(),$product->getDiscountPercentage().Dimensions: Length, width, height (cm) and volume calculations.ProductStatus: Enum (draft,active,inactive,archived).
- Inventory & Low Stock Alerts: Automatic triggering of
LowStockDetectedEventwhen stock drops to or belowmin_stock. - Domain Events:
ProductCreatedEvent,ProductPriceChangedEvent,ProductStockUpdatedEvent,LowStockDetectedEvent.
🗄️ Database Schema
Run the SQL script from database/schema.sql or use DatabaseMigrator:
🚀 Quick Usage Example
📄 License
MIT License.
All versions of catalog-engine with dependencies
PHP Build Version
Package Version
The package ttpryg/catalog-engine contains the following files
Loading the files please wait ...