Download the PHP package kumwe/canonical-json without Composer

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

Kumwe Canonical JSON

Packagist version CI

Canonical JSON contracts, bounded operation metadata and a language-neutral conformance corpus for deterministic encoding and digests. The namespace is Kumwe\CanonicalJson.

The package provides the CanonicalEncoder interface, Profile, FindingCode and Limits. It ships no encoder implementation, PHP fallback, native class, container provider or runtime selector. Computation owns the execution adapter; Core owns its composition and application behavior.

Installation

Requires PHP 8.5 on a 64-bit platform. Install the published release with an exact pre-1.0 pin:

See published releases and compatibility and release verification before upgrading.

Usage

These immutable values describe semantics and budgets; constructing them does not encode a payload. Receive a conforming CanonicalEncoder through a constructor or factory when execution is needed. Its encode(mixed): string returns canonical UTF-8 bytes, and digest(mixed): string returns 64 lowercase hexadecimal SHA-256 characters over exactly those bytes. Both operations enforce the same bounds and ordered refusals. See the complete public API and standalone metadata example.

The GenericV1 profile preserves list order, sorts map keys by UTF-8 byte order, preserves finite binary64 zero fractions, and defines Unicode, slash and control escaping. It is not RFC 8785 JCS. Exact decimal strings remain strings; Conversion owns decimal semantics. Definition, SDK, Runtime, OpenAPI and Studio profiles have separate owners and must not be replaced without conformance proof.

Core contract

Core installs and verifies the package version, public manifests and corpus identity, and supplies the execution adapter explicitly. This package supplies no configuration keys, services, factories or aliases and owns no actor, tenant, transaction or mutable execution state.

Core retains authorization, persistence, audit, idempotency, readiness, lifecycle and delivery tests. Replacing an active executor requires byte/digest compatibility and bounded-failure proof before removing its implementation tests. A published semantic package alone does not establish native execution readiness. See the Core contract and integration guidance.

Documentation

Development

The complete gate runs behavior and corpus tests, static analysis, API and manifest checks, architecture and documentation checks, release integrity tests, and a ZIP installed as a no-dev dependency in a fresh Composer project. Test-only oracles are excluded from consumer archives. CI also runs the release automation regression suite and checks the no-dev autoloader and example.

Licensed under Apache-2.0.


All versions of canonical-json with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
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 kumwe/canonical-json contains the following files

Loading the files please wait ...