2017 © Pedro Peláez
 

library cacheable

Rinvex Cacheable is a granular, intuitive, and fluent caching system for eloquent models. Simple, but yet powerful, plug-n-play with no hassle.

image

rinvex/cacheable

Rinvex Cacheable is a granular, intuitive, and fluent caching system for eloquent models. Simple, but yet powerful, plug-n-play with no hassle.

  • Friday, July 20, 2018
  • by Omranic
  • Repository
  • 2 Watchers
  • 22 Stars
  • 14,049 Installations
  • PHP
  • 25 Dependents
  • 0 Suggesters
  • 4 Forks
  • 3 Open issues
  • 5 Versions
  • 23 % Grown

The README.md

Rinvex Cacheable

⚠️ This package is abandoned and no longer maintained. No replacement package was suggested. ⚠️, (*1)

👉 If you are interested to step on as the main maintainer of this package, please reach out to me!, (*2)


Rinvex Cacheable is a granular, intuitive, and fluent caching system for eloquent models. Simple, but yet powerful, plug-n-play with no hassle., (*3)

Packagist Scrutinizer Code Quality Travis StyleCI License, (*4)

What this package do -technically- caching eloquent query passing through the get method, whatever it is and it's smart enough to indicated any conditions, limit, offset, wheres, orders, groups, ..etc and take that criteria into account when caching and checking for cached version. Also by default any create, update, or delete event will flush all cache for that specific model. It uses default Laravel caching system, and utilizes whatever cache driver you are using. Awesome, right?, (*5)

Installation & Usage

  1. Install the package via composer:, (*6)

    composer require rinvex/laravel-cacheable
    
  2. Use the \Rinvex\Cacheable\CacheableEloquent in your desired model, and you're done!, (*7)

  3. Seriously, that's it!, (*8)

Check the CacheableEloquent source code for more awesome stuff if you need advanced control., (*9)

Optional Features

You can optionally override model caching behaviour per model as follows:, (*10)

    /**
     * Indicate if the model cache clear is enabled.
     *
     * @var bool
     */
    protected $cacheClearEnabled = true;

    /**
     * The model cache driver.
     *
     * @var string
     */
    protected $cacheDriver = 'memcached';

    /**
     * The model cache lifetime.
     *
     * @var int
     */
    protected $cacheLifetime = -1;

Changelog

Refer to the Changelog for a full history of the project., (*11)

Support

The following support channels are available at your fingertips:, (*12)

Contributing & Protocols

Thank you for considering contributing to this project! The contribution guide can be found in CONTRIBUTING.md., (*13)

Bug reports, feature requests, and pull requests are very welcome., (*14)

Security Vulnerabilities

If you discover a security vulnerability within this project, please send an e-mail to help@rinvex.com. All security vulnerabilities will be promptly addressed., (*15)

About Rinvex

Rinvex is a software solutions startup, specialized in integrated enterprise solutions for SMEs established in Alexandria, Egypt since June 2016. We believe that our drive The Value, The Reach, and The Impact is what differentiates us and unleash the endless possibilities of our philosophy through the power of software. We like to call it Innovation At The Speed Of Life. That’s how we do our share of advancing humanity., (*16)

License

This software is released under The MIT License (MIT)., (*17)

(c) 2016-2021 Rinvex LLC, Some rights reserved., (*18)

The Versions

20/07 2018

dev-develop

dev-develop https://rinvex.com

Rinvex Cacheable is a granular, intuitive, and fluent caching system for eloquent models. Simple, but yet powerful, plug-n-play with no hassle.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache eloquent trait model query cacheable fluent rinvex intuitive granular

18/02 2018

dev-master

9999999-dev https://rinvex.com

Rinvex Cacheable is a granular, intuitive, and fluent caching system for eloquent models. Simple, but yet powerful, plug-n-play with no hassle.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache eloquent trait model query cacheable fluent rinvex intuitive granular

18/02 2018

v0.0.3

0.0.3.0 https://rinvex.com

Rinvex Cacheable is a granular, intuitive, and fluent caching system for eloquent models. Simple, but yet powerful, plug-n-play with no hassle.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache eloquent trait model query cacheable fluent rinvex intuitive granular

14/03 2017

v0.0.2

0.0.2.0 https://rinvex.com

Rinvex Cacheable is a granular, intuitive, and fluent caching system for eloquent models. Simple, but yet powerful, plug-n-play with no hassle.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache eloquent trait model query cacheable fluent rinvex intuitive granular

18/01 2017

v0.0.1

0.0.1.0 https://rinvex.com

Rinvex Cacheable is a granular, intuitive, and fluent caching system for eloquent models. Simple, but yet powerful, plug-n-play with no hassle.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache eloquent trait model query cacheable fluent rinvex intuitive granular