wmather / wincache by wmather

Package to return the Wincache Cache Driver to Laravel 5.2+
1,407
3
2
Package Data
Maintainer Username: wmather
Package Create Date: 2017-01-10
Package Last Update: 2020-05-05
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 15:01:08
Package Statistics
Total Downloads: 1,407
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 3
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

Laravel Wincache Driver

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