2017 © Pedro Peláez
 

library cache

Cache Modification helper for the Illuminate Cache package.

image

andrey-helldar/cache

Cache Modification helper for the Illuminate Cache package.

  • Thursday, May 17, 2018
  • by Helldar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 12 % Grown

The README.md

Cache Modification helper

IMPORTANT!

The package is no longer supported. To implement caching, use the GeneaLabs/laravel-model-caching package.

Cache helper for the Illuminate Cache package., (*1)

cache, (*2)

StyleCI Total Downloads Latest Stable Version Latest Unstable Version License , (*3)

Installation

To get the latest version of Cache Modification, simply require the project using Composer:, (*4)

$ composer require andrey-helldar/cache

Instead, you may of course manually update your require block and run composer update if you so choose:, (*5)

{
    "require": {
        "andrey-helldar/cache": "^1.0"
    }
}

Once installed, you need to register the Helldar\Cache\ServiceProvider::class service provider in your config/app.php, or if you're using Laravel 5.5, this can be done via the automatic package discovery., (*6)

How to use

return cache_mod()
    ->key('it', 'is', 'a', 'key')
    ->minutes(60)
    ->tags('it', 'is', 'a', 'tags')
    ->remember(function() {
        return 'my value';
    });

return cache_mod()
    ->key('it', 'is', 'a', 'key')
    ->remember(function() {
        return 'my value';
    });

To disable the caching, you need to set the CACHE_DRIVER=array in .env., (*7)

Cache Modification for Illuminate Cache package was written by Andrey Helldar for the Laravel framework 5.4 or above, and is released under the MIT License. See the LICENSE file for details., (*8)

Translation

Translations of text and comment by Google Translate. Help with translation +1 in karma :), (*9)

The Versions

17/05 2018

dev-master

9999999-dev

Cache Modification helper for the Illuminate Cache package.

  Sources   Download

MIT

The Requires

 

laravel cache helper

05/02 2018

1.0.2

1.0.2.0

Cache Modification helper for the Illuminate Cache package.

  Sources   Download

MIT

The Requires

 

laravel cache helper

01/02 2018

1.0.1

1.0.1.0

Cache Modification helper for the Illuminate Cache package.

  Sources   Download

MIT

The Requires

 

laravel cache helper

01/02 2018

1.0.0

1.0.0.0

Cache Modification helper for the Illuminate Cache package.

  Sources   Download

MIT

The Requires

 

laravel cache helper

01/02 2018

dev-analysis-zDmjMn

dev-analysis-zDmjMn

Cache Modification helper for the Illuminate Cache package.

  Sources   Download

MIT

The Requires

 

laravel cache helper