Download the PHP package ricardogaguiar/laravel-redis-fallback without Composer

On this page you can find all versions of the php package ricardogaguiar/laravel-redis-fallback. 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 laravel-redis-fallback

Redis cache fallback package for Laravel 8 / Laravel 8的Redis缓存后备软件包 / Redisが落ちてもLaravelを落さない為のパッケージ(Laravel 8対応)

Purpose of this package / 该包装的目的 / このパッケージの目的

(English) This package is for falling back to array if redis server is not available for cache of laravel.

Currently array is specified as falling back because it can store tagged data.

But please be careful that it is alsmost same with not using cache in terms of performance.

This is created referencing to https://github.com/24i/laravel-redis-fallback for

(中文) 如果redis服务器不可用于laravel的缓存,则此软件包用于回退到阵列。

当前将数组指定为回退,因为它可以存储标记的数据。

但是请注意,就性能而言,不使用缓存几乎是相同的。

参照 https://github.com/24i/laravel-redis-fallback 创建

(日本語) このパッケージはRedistが落ちた時に、Laravelがそれでも例外エラーを出さずに動かし続けさせる為のパッケージです。 色々用途に合うパッケージを探していましたが

為、 https://github.com/24i/laravel-redis-fallback を開始にあたってのコードとして参照して、そこからは自分で作る事にしました。

Redisが使えない場合、arrayがcacheの代わりの保存先として使われます。 結果として

という所に特徴があります

How to install & set up / インストール・設定方法

(English) Replace the default cache service provider in config/app.php

(中文) 替换config/app.php中的默认缓存服务提供程序

(日本語) config/app.php の以下の部分を書き換えて下さい

Test

(English) You should test whether the system can run without exception even if redis service stopped.

(中文) 即使redis服务停止,也应该测试系统是否可以正常运行。

(日本語) Redisを落としても、システムがきちんと稼働することを確認の上で、使って下さい。

License / ライセンス / 执照

MIT

Author / 作者

Name / 名前 / 全名

Hajime Kurita

Twitter

Techincoal web services / 提供してる技術関連Webサービス / Techincoal Web服务

VPS & Infra comparison / VPS比較 / VPS比较

Programming Language Comparison / プログラミング言語比較 / 编程语言比较

OSS

Contributing to following web services (part of projects which I am contributing to as owner)

Japanese

English

Chinese


All versions of laravel-redis-fallback with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
illuminate/support Version 5.* || 6.* || 7.* || 8.*
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 ricardogaguiar/laravel-redis-fallback contains the following files

Loading the files please wait ....