2017 © Pedro Peláez
 

library mamushka

Caching for Laravel

image

sargilla/mamushka

Caching for Laravel

  • Wednesday, March 2, 2016
  • by sargilla
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Sargilla/Mamushka Laravel Cache Class

Paquete para Laravel que se utiliza para caching de vistas., (*1)

INSTALACION

En Config/App.php registrar un nuevo service provider:, (*2)

Sargilla\Mamushka\MamushkaServiceProvider::class,, (*3)

USO

En los metodos agregar el metodo cacheable, (*4)

use Sargilla\Mamushka\Cacheable;, (*5)

class MyModel extends Model { use Cacheable;, (*6)

En el controlador: return view('micontrolador.index', compact('controlador'));, (*7)

Y en las vistas, (*8)

@cache($controlador) @foreach ($controlador->items as $item) echo $item; @endforeach @endcache, (*9)

The Versions

02/03 2016

dev-master

9999999-dev

Caching for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache