Download the PHP package kinetis/aws-sigv4 without Composer

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

kinetis/aws-sigv4
A PSR-18 client that signs requests with AWS Signature Version 4

Packagist Version Packagist Downloads PHP Version License CI


Part of Kinetis, a non-blocking PHP framework for API-first applications, developed in the kinetis-dev/kinetis monorepo.

A PSR-18 HTTP client that signs every outgoing request with AWS Signature Version 4 (SigV4) and sends it to one configured origin, checked against AWS's own published SigV4 test vectors. Usable outside Kinetis entirely, the same relationship kinetis/revolt-http-client already has with the wider PHP ecosystem.

$origin is the only scheme, host, and port this client will sign for, with an optional path prefix that binds every request. A relative request resolves against it; anything else — another host, another port, an http target under an https origin, a path that leaves the prefix — is rejected before credentials are resolved, before the body is read, and before the network is touched. The target is put into the exact form it will be sent in before both the check and the signature, so the signature covers the bytes that go out. A 3xx response is returned as it is: nothing is re-signed and no Location is followed, for the signed request or for the credential lookups. Signing reads the request body once, from where it stands, and consumes it. A request is bounded at 30 seconds idle and 30 seconds end to end, each settable on its own through SignedTransport::create().

$service is the AWS signing service name ("es" for Amazon OpenSearch Service, "execute-api" for API Gateway, and so on) — required, with no default, since guessing wrong produces a signature that fails verification rather than an obvious error.

Credentials

Resolved through AsyncAws's five providers in their standard order (environment variables, including the STS assume-role AWS_ROLE_ARN selects; web identity; the shared credentials and config files; ECS or EKS pod identity; IMDS) unless a CredentialProvider is passed as the fourth constructor argument. Every provider in it that calls AWS uses the same SignedTransport the signed request travels on; the shared credentials and config files and any token file are read with native blocking calls. The first unexpired credentials are held until they expire, and a lookup that resolves nothing holds nothing.

Installation

Requires PHP 8.4+ and kinetis/revolt-http-client. Full documentation, including the origin grammar, deadlines, failure behavior, and what is buffered or blocking: kinetis.dev/docs/aws-sigv4.html.

License

MIT — see LICENSE.


All versions of aws-sigv4 with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
kinetis/revolt-http-client Version ^1.4.5
amphp/http-client Version ^5.3.6
async-aws/core Version ^1.29.2
nyholm/psr7 Version ^1.8.2
psr/http-client Version ^1.0.3
psr/http-message Version ^2.0
symfony/http-client Version ^8.1.11
symfony/http-client-contracts Version ^3.7.1
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 kinetis/aws-sigv4 contains the following files

Loading the files please wait ...