lunarphp/core
Core package for Lunar, a Laravel-based e-commerce platform. Provides the foundational models, database structure, and services used to build and extend storefronts and admin functionality, designed to be modular, extensible, and integrated with the Laravel ecosystem.
lunarphp/lunar, containing only the core domain models and services—not designed for standalone usage. Begin by installing and using the official lunarphp/lunar package (composer require lunarphp/lunar) instead.lunarphp/lunar repository. lunarphp/core updates automatically via subtree split and should never be modified manually.src/Models/, src/ValueObjects/, and src/Support/ directories to understand domain primitives like Product, Price, TaxClass, and Currency. These are meant to be extended or composed—not consumed in isolation.HasPrices, HasTaxClass) on your app’s models—not by forking this package.PriceCalculated, CartTotalsCalculated, or OrderSubmitted to inject custom logic (discounts, surcharges, audit logging).PriceCalculatorInterface, TaxCalculatorInterface) in AppServiceProvider—ensuring compatibility with the core domain contract.composer.json require section, and no standalone dependencies—attempting to use it directly will break dependency resolution.lunarphp/core—all development happens in lunarphp/lunar. Bugs, feature requests, and docs live there.lunar.php (e.g., missing stores, invalid currency locales) or outdated lunarphp/lunar. Ensure the main package is up-to-date first.Product), always verify trait usage and foreign key constraints against the parent package’s migrations—this split does not ship its own.php artisan vendor:publish --provider="Lunar\LunarServiceProvider" to generate config and migrations—even if using only core models—to avoid silent schema mismatches.How can I help you explore Laravel packages today?