Download the PHP package azaharizaman/nexus-financial-statements without Composer

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

Nexus\FinancialStatements

Framework-Agnostic Financial Statement Generation Engine

PHP Version

Overview

Nexus\FinancialStatements is a pure PHP package that provides the core engine for generating, validating, and formatting financial statements. It supports multiple compliance frameworks (GAAP, IFRS, local standards) and produces Balance Sheets, Income Statements, Cash Flow Statements, Statements of Changes in Equity, and Notes to Financial Statements.

This package is framework-agnostic and contains no database access, no HTTP controllers, and no framework-specific code. Consuming applications provide data through injected interfaces.

Installation

Package Responsibilities

Responsibility Description
Statement Generation Build complete financial statements from account balances
Multi-Framework Compliance Support GAAP, IFRS, and custom compliance layouts
Section Organization Group accounts into proper statement sections (Assets, Liabilities, etc.)
Validation Ensure statements balance and meet compliance requirements
Export Adapters Define contracts for PDF, Excel, HTML export (implementations in adapters)

Key Concepts

Statement Types Supported

Compliance Frameworks

The package supports multiple compliance frameworks through layout templates:


Architecture


Contracts (Interfaces)

Core Interfaces

FinancialStatementInterface

Base interface for all financial statement entities.

StatementBuilderInterface

Builds financial statements from raw account data.

StatementTemplateInterface

Defines the structure and layout of a statement type.

StatementValidatorInterface

Validates statement integrity and compliance.

ComplianceTemplateInterface

Provides compliance-specific formatting rules.

StatementDataProviderInterface

Contract for consuming applications to provide account data.

StatementExportAdapterInterface

Contract for export implementations (PDF, Excel, etc.).


Entities

BalanceSheet

Represents a Statement of Financial Position.

IncomeStatement

Represents a Profit & Loss statement.

CashFlowStatement

Represents a Statement of Cash Flows.

StatementOfChangesInEquity

Tracks equity movements over a period.

NotesToFinancialStatements

Supplementary disclosures and accounting policies.

TrialBalance

Pre-statement verification of account balances.

StatementSection

Groups related line items within a statement.


Value Objects

LineItem

AccountBalance

StatementMetadata

StatementPeriod

ComplianceStandard


Enums

StatementType

StatementFormat

AccountCategory

CashFlowMethod

ComplianceFramework


Services

StatementValidator

Validates statement integrity:

SectionGrouper

Groups account balances into statement sections based on account categories and template definitions.

ComplianceChecker

Verifies statements meet compliance framework requirements:


Layouts

Pre-built compliance layouts:


Exceptions

Exception When Thrown
StatementImbalanceException Balance sheet doesn't balance (A ≠ L + E)
InvalidLineItemException Line item data is invalid
InvalidSectionException Section configuration is invalid
TemplateNotFoundException Requested compliance template not found

Usage Example


Integration with Other Packages

Package Integration
Nexus\Finance Provides account balances via StatementDataProviderInterface
Nexus\Period Provides period information
Nexus\AccountPeriodClose Triggers statement generation on period close
Nexus\Export Implements StatementExportAdapterInterface
Nexus\AuditLogger Logs statement generation events

Related Documentation


License

MIT License - See LICENSE for details.


All versions of nexus-financial-statements with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
azaharizaman/nexus-common 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-financial-statements contains the following files

Loading the files please wait ...