Download the PHP package tbessenreither/multi-level-cache without Composer

On this page you can find all versions of the php package tbessenreither/multi-level-cache. 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 multi-level-cache

MultiLevelCache Symfony Bundle

A high-performance, multi-level caching system for Symfony applications. This bundle provides a flexible, extensible, and developer-friendly way to combine multiple cache backends (memory, Redis, file, etc.) for optimal speed and reliability.

It has two parts to it.

  1. The Multi Level Cache (MLC)
  2. The Cached Service Generator (CSG)

Of the two parts, the CSG is the intended way of using the MLC. But the MLC itself also has it's use cases and can be used directly without the CSG. Both are documented in sections bellow.

Installation

Install via Composer from GitHub:

  1. Require the package:

[!TIP] The following steps can be automated by using Copycat

  1. Enable the Bundle in config/bundles.php:

  2. Configure Environment Variables as needed:
    • REDIS_DSN (if using Redis, so basically always)
    • MLC_DISABLE_READ (optional, disables cache reads if it exists at all, no matter the value)
    • MLC_COLLECT_ENHANCED_DATA (optional, enables enhanced data collection but has performance impact)

Basic concept

Its a fast multi level cache consisting, in it's standard configuration, of:

Most notable features

Cached Service Generator (CSG)

As mentioned above, the main way of using the MLC is via the Cached Service Generator.

Cached Service Generator Documentation

MultiLevelCacheService and MultiLevelCacheFactory

For details on how to use the MLC Service and Factory directly.

MultiLevelCacheService and MultiLevelCacheFactory Documentation

FAQ

We now have an FAQ with the most common questions on how to do things.

Look Here for all FAQ goodness

License

MIT

Contributors

Awesome people who contributed to this package

Honorable mentions

thanks for support goes to:


All versions of multi-level-cache with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
symfony/dependency-injection Version ^7.3
symfony/http-kernel Version ^7.3
symfony/cache Version ^7.3
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 tbessenreither/multi-level-cache contains the following files

Loading the files please wait ...