Download the PHP package maatify/php-i18n without Composer

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

# Maatify I18n ![Maatify.dev](https://www.maatify.dev/assets/img/img/maatify_logo_white.svg) [![Status](https://img.shields.io/badge/Status-Release%20Candidate-blue)](CHANGELOG.md) [![Version](https://img.shields.io/badge/Version-1.0.0--rc.1-blue)](https://packagist.org/packages/maatify/php-i18n) [![PHP](https://img.shields.io/badge/PHP-%5E8.4-8892BF)](composer.json) [![License](https://img.shields.io/badge/License-Proprietary-green)](LICENSE) [![PHPStan](https://img.shields.io/badge/PHPStan-Level%20Max-4E8CAE)](phpstan.neon) [![Packagist](https://img.shields.io/badge/Packagist-Distribution-blue)](https://packagist.org/packages/maatify/php-i18n) [![Monthly Downloads](https://img.shields.io/packagist/dm/maatify/php-i18n)](https://packagist.org/packages/maatify/php-i18n) [![Total Downloads](https://img.shields.io/packagist/dt/maatify/php-i18n)](https://packagist.org/packages/maatify/php-i18n) [![Maatify Ecosystem](https://img.shields.io/badge/Maatify-Ecosystem-blueviolet)](https://github.com/Maatify) [![Install](https://img.shields.io/badge/Install-1.0.0--rc.1%40RC-blue)](#installation) [![Usage Guide](https://img.shields.io/badge/Docs-Usage%20Guide-informational)](docs/guides/USAGE_GUIDE.md) [![Examples](https://img.shields.io/badge/Docs-Examples-informational)](examples/) [![Package Reference](https://img.shields.io/badge/Docs-Package%20Reference-informational)](I18N_PACKAGE_REFERENCE.md) [![Book](https://img.shields.io/badge/Docs-Book-informational)](BOOK/INDEX.md) [![Changelog](https://img.shields.io/badge/Docs-Changelog-informational)](CHANGELOG.md) [![Security](https://img.shields.io/badge/Docs-Security-informational)](SECURITY.md) [![Contributing](https://img.shields.io/badge/Docs-Contributing-informational)](CONTRIBUTING.md) `maatify/php-i18n` is a governed, database-driven translation layer for PHP: structured keys, exact-scope translation values in MySQL, fail-soft runtime reads, management reads for admin screens, and operational coverage facts. Language identity stays with the Host: I18n stores an exact, nullable language code and never applies a fallback. Published Release Candidate: `1.0.0-rc.1`, distributed through [Packagist](https://packagist.org/packages/maatify/php-i18n). No Published Stable release or Stable support line exists. See [Installation](#installation) for the exact consumer command. Release Target: `1.0.0-rc.1` · Publication State: Published pre-release · Lifecycle Status: Release Candidate.

Key Features

Requirements

composer.json is the source of truth for requirements and dependencies; this table reflects it.

Requirement Constraint
PHP ^8.4
Extensions ext-mbstring, ext-pdo, ext-pdo_mysql
maatify/exceptions ^1.1
maatify/persistence ^1.4
maatify/shared-common ^1.0
Database MySQL (InnoDB, utf8mb4); MySQL 8.4 is the version exercised by the package verification
Optional php-di/php-di and psr/container only for the optional PHP-DI adapter (suggest)

Installation

Install the exact published Release Candidate from Packagist:

Then create the database objects once, on a fresh database, from schema/schema.i18n.sql. The file begins with DROP TABLE IF EXISTS for the seven tables, so never apply it over existing I18n data.

Quick Usage

Complete, runnable wiring: docs/guides/USAGE_GUIDE.md.

Public Runtime API

An overview only. The complete inventory (signatures, DTO fields, exceptions, sort keys) is I18N_PACKAGE_REFERENCE.md.

Area Types
Runtime reads (fail-soft) TranslationReadService (getValue(), getTranslation()), TranslationDomainReadService (getDomainValues(), getDomainTranslations()), value-only and typed consumer DTOs
Translation writes TranslationWriteService (keys, translations, language-code re-key)
Governance management I18nScopeManagementService, I18nDomainManagementService, I18nScopeDomainManagementService
Management reads I18nManagementReadService, I18nScopeReadService, I18nDomainReadService with *Criteria inputs and paginated results
Operational reads I18nOperationalReadService (exact-code counts and coverage)
Policy and maintenance I18nGovernancePolicyService, MissingCounterService, I18nStatsRebuilder
Inputs and results *Command intents, *Criteria queries, *DTO results, LanguageCode, I18nPolicyModeEnum
Persistence repository contracts (Repository\*Interface) and their MySQL implementations
Optional integration Adapter\PhpDi\I18nBindings

Critical Runtime Behavior

Exception and Error Propagation

Every exception defined by the package implements Maatify\I18n\Exception\I18nExceptionInterface. Writes and identity lookups throw typed exceptions; runtime reads do not throw for data problems. PDOException and other external throwables propagate unchanged; a non-throwing PDO failure state becomes I18nStorageException. Catalog: Reference 6.2.

Security and Trust Boundaries

Examples

Six maintained examples cover every material capability and run against a disposable MySQL in CI. See the capability map in the examples/ directory.

Schema

Reference section 8.

Documentation

Document Role
I18N_PACKAGE_REFERENCE.md the canonical public, runtime and behavioral contract
docs/guides/USAGE_GUIDE.md integration walkthroughs
examples/ maintained, executable examples
CHANGELOG.md published 1.0.0-rc.1 Release Candidate and its actual release date
ARCHITECTURE.md component boundaries
BOOK/INDEX.md conceptual, deep documentation; never overrides the Reference
llms.txt navigation for AI consumers
SECURITY.md vulnerability reporting and support policy
CONTRIBUTING.md contribution boundaries and local verification
CODE_OF_CONDUCT.md community participation expectations

Quality Status

Gate State
PHPStan level max (src, tests, examples, consumer harness) enforced, zero errors, no baseline, no suppressions
Unit suite (no Docker) and real-MySQL Integration suite enforced on PHP 8.4 and 8.5
Dependency compatibility latest-compatible and lowest-supported resolutions both verified
Consumer Verification Harness repository-path dependency in an external Composer root, production autoload, real MySQL, two clean runs; published-RC Harness verification is the next separate step
Examples every example smoke-executed
Composer audit and platform requirements enforced
Release Published Release Candidate 1.0.0-rc.1; no Published Stable release or Stable support line. See CHANGELOG.md

Development and Testing

Every CI gate invokes a local command from the standalone repository root, so each can be reproduced locally with the same verification contract. Prerequisites: PHP 8.4+, Composer, actionlint available on PATH for composer check:workflows, and, for the real-MySQL gates, Docker with Compose v2. composer check:audit needs Composer 2.10 or newer (a verification-time capability, not a consumer requirement). The disposable MySQL is defined once in scripts/ci/with-mysql.sh; Integration, examples and the consumer harness all reuse it, with run-scoped temporary credentials and teardown.

Gate Local command CI job (I18n Package CI)
Composer validation composer check:composer Quality
Platform requirements composer check:platform Quality, Dependencies
Strict production autoload composer check:autoload Quality
PHP syntax composer check:syntax Quality
PHPStan max composer analyse Quality, Dependencies
PHP-FIG PER Coding Style 3.1 composer check:style Quality, Dependencies
Whitespace composer check:whitespace Quality
Documentation consistency composer check:docs Quality
Unit composer test:unit Unit (PHP 8.4, 8.5), Dependencies
Real-MySQL Integration composer test:integration Integration (PHP 8.4, 8.5), Dependencies
Examples smoke composer check:examples Examples (PHP 8.4, 8.5)
Consumer Verification composer verify:consumer Consumer Verification (PHP 8.4, 8.5)
Composer audit composer check:audit Audit
Workflow lint composer check:workflows (actionlint over standalone repository workflows; actionlint must already be available on PATH) Workflow Lint

composer verify runs the canonical Package verification gate set on the dependency versions currently installed or resolved, including Style and Workflow Lint. CI runs latest-compatible and lowest-supported dependency resolutions as separate compatibility modes; neither mode is part of composer verify, and composer verify does not run composer update.

The final aggregate job of the workflow is I18n Package CI Gate.

License

Proprietary. See LICENSE.

Author

Engineered by Mohamed Abdulalim (@megyptm)
Backend Lead & Technical Architect
https://www.maatify.dev


[Built with ❤️ by Maatify.dev — Unified Ecosystem for Modern PHP Libraries](https://www.maatify.dev)

All versions of php-i18n with dependencies

PHP Build Version
Package Version
Requires ext-mbstring Version *
ext-pdo Version *
ext-pdo_mysql Version *
maatify/exceptions Version ^1.1
maatify/persistence Version ^1.4
maatify/shared-common Version ^1.0
php Version ^8.4
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 maatify/php-i18n contains the following files

Loading the files please wait ...