Download the PHP package azaharizaman/nexus-document without Composer

On this page you can find all versions of the php package azaharizaman/nexus-document. 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-document

Nexus\Document

Framework-agnostic Enterprise Document Management (EDM) engine for Nexus ERP monorepo

Overview

Nexus\Document is a pure PHP, atomic package providing comprehensive document lifecycle management for the Nexus ERP ecosystem. It serves as the centralized authority for document storage, versioning, access control, integrity verification, and compliance-aware retention across all vertical packages (FieldService, Finance, HR, Procurement, etc.).

This package follows the "Logic in Packages, Implementation in Applications" principle, providing framework-agnostic contracts and services that are implemented by the consuming application (Nexus\Atomy).

Key Features

Architecture

Framework-Agnostic Design

This package contains zero Laravel dependencies. All logic is pure PHP 8.3+ code that defines:

The consuming application (apps/Atomy) provides concrete implementations of all contracts using Laravel Eloquent, migrations, and service providers.

Package Structure

Core Contracts

Entity Interfaces

Repository Interfaces

Service Interfaces

Value Objects

Enums (Native PHP 8.3)

Readonly Classes

Usage Examples

1. Upload a Document

2. Upload with Auto-Classification

3. Download with Permission Check

4. Generate Temporary Download URL

5. Create a New Version

6. Batch Upload

7. Create Document Relationship

8. Search Documents

Storage Path Strategy

Nested S3-Optimized Structure

The package uses a year/month partitioned path structure for optimal object storage performance:

Performance Benefits

  1. Hot Partition Avoidance: Distributes writes across multiple prefixes instead of all new documents going to one flat folder
  2. Lifecycle Policies: Easy to archive/delete all documents older than N years using prefix-based S3 lifecycle rules
  3. Query Performance: Object storage systems index by prefix - nested structure improves list/search operations
  4. Cost Optimization: Archive old year/month prefixes to Glacier storage class automatically

PathGenerator Service

The Core/PathGenerator service encapsulates all path logic:

Content Processing

ContentProcessorInterface Integration

The package defines a ContentProcessorInterface for extensibility:

Default Implementation (No-Op)

By default, Nexus\Atomy binds a NullContentProcessor that logs warnings:

Future Intelligence Integration

When Nexus\Intelligence is available, simply rebind in DocumentServiceProvider:

Integration with Applications

Atomy Implementation

The apps/Atomy application provides concrete implementations:

Models

Repositories

Service Provider

Dependencies

This package requires:

Installation

Requirements Coverage

This package fulfills all requirements documented in docs/REQUIREMENTS_DOCUMENT.md including:

Documentation

Core Documentation

Implementation Details

Code Examples

Quick Links

License

MIT License - see LICENSE file for details.


All versions of nexus-document with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
psr/log Version ^3.0
symfony/uid Version ^7.0
azaharizaman/nexus-storage Version dev-main
azaharizaman/nexus-crypto Version dev-main
azaharizaman/nexus-audit-logger Version dev-main
azaharizaman/nexus-tenant 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-document contains the following files

Loading the files please wait ...