Download the PHP package omnilog/psr6-dynamo-db-bundle without Composer

On this page you can find all versions of the php package omnilog/psr6-dynamo-db-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 psr6-dynamo-db-bundle

Tests Coverage Status

Don't use Symfony? Use the standalone library.

Installation

composer require omnilog/psr6-dynamo-db-bundle

Configuration

Create the file config/packages/dynamo_db_cache.yaml and put at least the table name there:

Everything else has default values, though you probably want to also configure the dynamo db client.

Configuration options:

Autogenerated default config (via bin/console config:dump omnilog_dynamo_db_cache):

Usage

You can use one of the two available services:

If you set the replace_default_adapter to true you can also use these interfaces as services:

Example

While using the replace_default_adapter option:

Or using the PSR interfaces:

Converters

This bundle supports all instances of \Psr\Cache\CacheItemInterface with the use of converters which convert the object to \Omnilog\DynamoDbCache\DynamoCacheItem. Note that some information may be lost in the conversion, notably expiration date.

This bundle has a handler for the default Symfony \Symfony\Component\Cache\CacheItem where it retains also the information about expiration date.

If you use any other CacheItemInterface implementation, you may need to write your custom handler:

Your converter is now automatically registered in the converter system and will be used whenever you try to save an instance of MyCacheItem.

If you don't use autoconfiguration, tag your service with omnilog.dynamo_cache.converter

The default converter which will be used as last option can convert all CacheItemInterface objects but has no way to get the expiration date since the interface doesn't provide such information.


All versions of psr6-dynamo-db-bundle with dependencies

PHP Build Version
Package Version
Requires symfony/framework-bundle Version ^4.4|^5.0
omnilog/psr6-dynamo-db Version 0.0.1
php Version ^7.2 | ^8.0
symfony/cache Version ^4.4|^5.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 omnilog/psr6-dynamo-db-bundle contains the following files

Loading the files please wait ....