Download the PHP package craftcms/http-message-signatures without Composer

On this page you can find all versions of the php package craftcms/http-message-signatures. 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 http-message-signatures

HTTP Message Signatures (RFC 9421)

A PHP 8.1+ implementation of HTTP Message Signatures as specified in RFC 9421.

Features

Installation

Requirements

Dependencies

This package uses well-maintained, industry-standard libraries:

Usage

Creating a Signature

Verifying a Signature

Signing URLs

Use UrlSigner and UrlVerifier when the signature needs to live in the URL instead of HTTP headers.

RFC 9421 does not define a signed URL format. This package provides URL signing as a convenience API that applies the same component derivation, signature base, parameters, and algorithms to a URL-carried signature.

Signed URLs only include the configured signature query parameter. The component list and signature parameters are verifier policy, so the signer and verifier must be configured with the same UrlSigningConfig.

By default, URL signatures cover @target-uri, append a signature query parameter, and omit created/expires. Configure components, signatureParam, created, expiresAfter, keyid, nonce, or tag when those values are part of your URL signing policy.

When signing or verifying non-GET URLs, pass a PSR-7 RequestInterface so the request method can be included with @method.

Using RSA-SHA256

Using Ed25519

Available Components

The following components can be included in signatures:

Derived Components:

Headers:

Query Parameters:

PSR-7 Compliance

This package is fully PSR-7 compliant:

Testing

Code Quality

License

MIT


All versions of http-message-signatures with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
bakame/http-structured-fields Version ^2.0
league/uri-components Version ^7.0
psr/http-factory Version ^1.0
psr/http-message Version ^2.0
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 craftcms/http-message-signatures contains the following files

Loading the files please wait ...