Download the PHP package imper86/dynamodb-client-bundle without Composer

On this page you can find all versions of the php package imper86/dynamodb-client-bundle. 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 dynamodb-client-bundle

CI Coverage Packagist

A Symfony bundle that registers [`imper86/dynamodb-client`](https://github.com/imper86/dynamodb-client) as an autowirable service. It works with Symfony 6.4, 7.4 and 8.x on PHP 8.1 or newer. ## Installation The client needs a PSR-18 HTTP client and PSR-17 factories. If your app has none yet, install one, for example: With Symfony Flex, the recipe registers the bundle and adds `AWS_REGION`, `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` to your `.env`. Without Flex, register the bundle yourself in `config/bundles.php`: ## Configuration The bundle needs no config file. By default it reads the standard AWS environment variables, from the real environment or from your `.env` files: Create the file only to override a value, for example to use different variable names. `region`, `key` and `secret` must not be empty. If `AWS_REGION`, `AWS_ACCESS_KEY_ID` or `AWS_SECRET_ACCESS_KEY` isn't set anywhere, fetching the client throws an `EnvNotFoundException`. `AWS_SESSION_TOKEN` is optional. If you point `token` at your own variable that may be empty, use the `default::` processor as above, so that an empty value means "no token". Run `bin/console config:dump-reference imper86_dynamodb_client` to see the full reference. ### Custom endpoint By default requests go to `https://dynamodb..amazonaws.com`. To use another endpoint, such as [DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html) in Docker, set `endpoint` to an absolute `http` or `https` url: DynamoDB Local does not check credentials, but requests are still signed, so the key and secret must not be empty. Any value works. If you leave `endpoint` unset, the client reads `AWS_ENDPOINT_URL_DYNAMODB` and then `AWS_ENDPOINT_URL` from the real process environment, the same way the AWS SDKs do. It does not see `.env` files. To read the endpoint from `.env`, point `endpoint` at the variable with the `default::` processor, so an empty or missing value means the regional AWS endpoint: An invalid endpoint throws an `InvalidArgumentException` when the client is first fetched. If the container has a `Psr\Http\Client\ClientInterface` service (for example from `symfony/http-client` with `nyholm/psr7` installed), the client sends its requests through it, so they show up in the profiler. Otherwise it finds an HTTP client through [`php-http/discovery`](https://github.com/php-http/discovery). ## Usage Type your dependencies against `DynamoDBClientInterface`. It is the only autowirable type; the concrete `DynamoDBClient` class is not. See the [library README](https://github.com/imper86/dynamodb-client#readme) for the operations, request and response objects, and error handling. ## License MIT

All versions of dynamodb-client-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
imper86/dynamodb-client Version ^1.2
psr/http-client Version ^1.0
symfony/config Version ^6.4 || ^7.4 || ^8.0
symfony/dependency-injection Version ^6.4.19 || ^7.4 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.4 || ^8.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 imper86/dynamodb-client-bundle contains the following files

Loading the files please wait ...