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

Normative generic canonical JSON semantics and conformance fixtures for the native streaming engine and deterministic digests. Canonical namespace: Kumwe\CanonicalJson.

This package supplies semantic metadata, not an encoder. There is no encode() or digest() implementation, PHP fallback, native class, provider or runtime selector in this archive.

Installation and direct use

PHP 8.5 on a 64-bit platform is supported. After a maintainer publishes and independently verifies the recorded release, install its exact pre-1.0 version with Composer. Do not consume a branch.

These immutable values are safe to share across operations. They hold no actor, tenant, environment, transaction or mutable runtime state. There are no configuration keys, services, factories or aliases. Computation owns future interface binding to a compatible native extension and readiness enforcement.

Contract and examples

The profile preserves list order, sorts non-list array keys by UTF-8 byte order, preserves finite binary64 zero fractions, and emits unescaped Unicode/slashes with defined control escaping. It is not RFC 8785 JCS. Exact decimal strings belong to Conversion; strings are never coerced to numbers.

The PHP profile enum, finding enum and budgets are directly constructible metadata. Extending semantics requires a reviewed profile/corpus successor, not subclassing or a replacement local canonicalizer.

Validation and adoption

Run composer install, then composer check. This checks all package behavior and corpus fixtures, strict analysis, documentation, architecture, manifests and a real ZIP installed as a no-dev dependency in a fresh Composer consumer. The frozen test-only oracle is excluded from every consumer archive.

Phase 2 may adopt semantics and metadata after immutable release verification. It keeps the current App production executor and its implementation tests. Only Computation's later native cutover can remove that executor and those tests. App continues testing composition, persistence, authorization, audit/idempotency integration, lifecycle, delivery and recovery.

See MIGRATION-HANDOFF.md for exact paths and gates, releasing for release-on-record and compatibility, and security for resource refusals and reporting. Licensed Apache-2.0.

Explicit generic execution port

Kumwe\CanonicalJson\CanonicalEncoder declares encode(mixed): string and digest(mixed): string. Portable packages receive this contract explicitly. No executor, container provider or runtime selector is shipped here. The implementation must preserve GenericV1 bytes, ordered refusals and operation limits; digest enforces the same limits as encoding. Computation owns the native adapter after verified native releases. App may adapt its existing executor during the staged adoption, retaining its tests until the Computation cutover. Distinct Definition, SDK, Runtime and Studio profiles keep their current owners.


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 ...