Download the PHP package azaharizaman/nexus-product without Composer

On this page you can find all versions of the php package azaharizaman/nexus-product. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nexus-product

Nexus\Product

Framework-agnostic product catalog management package for the Nexus ERP monorepo.

Overview

Nexus\Product provides a comprehensive master data management system for product catalogs, supporting both simple standalone products and complex configurable products with template-variant architecture. It integrates seamlessly with Nexus\Uom for dimensional data, Nexus\Sequencing for SKU generation, and serves as the foundation for downstream domains like Procurement, Sales, and Inventory.

Core Philosophy

This package defines WHAT a product is (master data), not WHERE it's stored or HOW MUCH stock exists. Transactional data like inventory levels, pricing, and availability belong in domain-specific packages (Nexus\Inventory, Nexus\Sales).

Features

Template-Variant Architecture

Master Data Management

Physical Dimensions

Product Classification

Enterprise Features

Installation

This package is part of the Nexus monorepo. Install it in your Laravel application:

Architecture

Package Structure

Framework Agnostic Design

This package contains ZERO Laravel-specific code. All dependencies are injected via constructor:

Usage Examples

Creating a Simple Product (Standalone Variant)

Creating a Configurable Product (Template + Variants)

Working with Barcodes

Preventing Variant Explosion

Integration Points

Nexus\Uom (Unit of Measure)

All physical dimensions use Nexus\Uom\Quantity:

Nexus\Sequencing (SKU Generation)

SKU generation integrates with the sequencing engine:

Nexus\Finance (Default GL Accounts)

Products can reference default GL account codes (resolved at application layer):

Nexus\Procurement (Purchase Orders)

Update PurchaseOrderLineInterface to reference products:

Value Objects

Sku

Immutable, validated SKU identifier:

Barcode

Format-aware barcode with validation:

DimensionSet

Complete physical specifications:

Enums

ProductType

TrackingMethod

BarcodeFormat

Exception Hierarchy

Configuration

Product-related settings (managed via Nexus\Setting):

Setting Key Default Description
product.max_variants_per_template 1000 Maximum variants allowed per template
product.default_category GENERAL Default category for uncategorized products
product.require_barcode false Whether barcodes are mandatory
product.auto_generate_sku true Auto-generate SKUs via sequencing

Contributing

This package follows the Nexus monorepo architectural principles:

  1. Framework Agnostic: Zero Laravel dependencies
  2. Contract-Driven: All external needs defined via interfaces
  3. Immutable Value Objects: All VOs use readonly modifier
  4. Modern PHP: Constructor promotion, native enums, match expressions
  5. Dependency Injection: All dependencies via constructor

📖 Documentation

Package Documentation

Additional Resources

License

MIT License - see LICENSE file for details.

Related Packages


All versions of nexus-product with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
psr/log Version ^3.0
azaharizaman/nexus-uom Version dev-main
azaharizaman/nexus-sequencing Version dev-main
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package azaharizaman/nexus-product contains the following files

Loading the files please wait ...