Download the PHP package asanikovich/laravel-roadrunner-cache without Composer

On this page you can find all versions of the php package asanikovich/laravel-roadrunner-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 laravel-roadrunner-cache

Laravel RoadRunner Cache

Latest Version on Packagist GitHub Tests Status GitHub Tests Coverage Status GitHub Code Style Status GitHub Lint Status Total Downloads Licence

This Laravel package allows you to work with RoadRunner KV Cache in Laravel (as a cache driver).

For laravel/octane users

Please note, that swoole in-memory or table cache works only inside HTTP workers.

If you want a cache that works from all parts of PHP (HTTP or CLI) - our package and RoadRunner KV will help you.

Getting Started

Installing the Package

You can install the package via composer:

Configuration

Configuration RoadRunner

Make sure you have in your RoadRunner config file (.rr.yaml) next sections:

Full example of RoadRunner configuration file:

Publish config

Publish the config file and setup RPC connection:

Serializers

Package supports next serializers (should be configured in store config):

Encryption

Package supports encryption with sodium, requirements:

Setup cache config file

Add to cache configuration file (/config/cache.php) new store with driver roadrunner:

Config file example

Usage

To use in your code:

All done! 🚀

Development

Here are some useful commands for development

Before running tests run docker-compose:

Run tests:

Run tests with coverage:

Perform type checking:

Format your code:

Updates and Changes

For details on updates and changes, please refer to our CHANGELOG.

License

Laravel RoadRunner Cache is released under The MIT License (MIT). For more information, please see our License File.


All versions of laravel-roadrunner-cache with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^10.0
spiral/roadrunner-kv Version ^4.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 asanikovich/laravel-roadrunner-cache contains the following files

Loading the files please wait ....