vysokeskoly/cache-bundle

Provides memcached services with proper usage of connection pool

Installs: 5 548

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

6.1.0 2024-10-25 13:38 UTC

This package is auto-updated.

Last update: 2024-10-25 13:39:43 UTC


README

Latest Stable Version License Checks Build

Changelog

See CHANGELOG.md

Installation

Step 1

Download using composer.

"require": {
    "vysokeskoly/cache-bundle": "^5.1.0"
},

Step 2

Add CacheBundle to the list of loaded bundles. Configure required parameters for bundle.

config.yml

vysoke_skoly_cache:
    connections:
        data:
            persistent_id: vs
            servers:
                default:
                    host: memc
                    port: 11211
        session:
            persistent_id: vs_session
            servers:
                default:
                    host: memc
                    port: 11311

Step3

Use created services. From example above vysokeskoly.cache.data and vysokeskoly.cache.session.