Skip to content

sidis405/laravel-simplecache-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrutinizer Code Quality Code Coverage Build Status

Cache Urls

  • Very alpha stages. Not unstable but i need to write tests for it.
  • If you think it's a good starting point for you, take it.

###Installation Add to composer.json

"sid/laravel-simplecache-middleware":"dev-master" 

Register the service provider by adding in the provider section in config/app.php

'providers' => [
    ...
    Sid\SimpleCache\SimpleCacheServiceProvider::class
    ...

Just in case

composer dump-autoload

Publish the migration and the config file

php artisan vendor:publish

Add to Kernel.php

'cacheafter' => \Sid\SimpleCache\AfterCacheMiddleware::class,
'cachebefore' => \Sid\SimpleCache\BeforeCacheMiddleware::class,

##Todo

  • Test. Tests. Tests.

Contributing

Contributions are welcome and will be fully credited.

About

Simple Caching Middleware for Laravel >= 5.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages