Package Data | |
---|---|
Maintainer Username: | arrack |
Maintainer Contact: | tech@pixnet.tw (Tech) |
Package Create Date: | 2016-09-21 |
Package Last Update: | 2017-06-05 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-19 03:19:50 |
Package Statistics | |
---|---|
Total Downloads: | 272 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 3 |
Total Watchers: | 50 |
Total Forks: | 2 |
Total Open Issues: | 2 |
By PIXNET ©
Memcached base for blade cache instead of file base.
install by composer
$ composer require pixnet/laravel-memcached-view
add service provider in config/app.php
'providers' => [
//...
PIXNET\MemcachedView\Providers\ViewServiceProvider::class,
//...
],
add alias in config/app.php
'alias' => [
//...
'MemcacheStorage' => PIXNET\MemcachedView\Filesystem\MemcacheStorage::class,
//...
]
set up your memcache setting in config/cache.php
return [
// ...
'store' => [
// ...
'memcached' => [
'driver' => 'memcached',
'servers' => [
[
'host' => 'YOUR_MEMCACHED_SERVER_IP',
'port' => 'MEMCACHED_PORT',
'weight' => 100
]
]
]
]
]
here you go