wmather/wincache

Package to return the Wincache Cache Driver to Laravel 5.2+

1.0.2 2020-05-05 15:01 UTC

This package is not auto-updated.

Last update: 2024-11-18 15:32:43 UTC


README

Installation

This repository is to replace the Wincache Cache Driver removed from Laravel 5.2. As such it only works in 5.2 and higher.

$ composer require wmather/wincache

Or a manual update of your composer.json

{
    "require": {
        "wmather/wincache": "^1.0"
    }
}

After installing, register the service provider by adding this line to the providers array in config/app.php.

  • Wmather\WinCache\WinCacheStoreServiceProvider::class

In your config/cache.php, add a new entry to the stores array

      'wincache' => [
          'driver' => 'wincache',
      ],

And then in your .env file, set the CACHE_DRIVER to that alias

CACHE_DRIVER=wincache