{"repo":"spatie/laravel-blink","free":true,"listed":false,"github":"https://github.com/spatie/laravel-blink","clone":"git clone https://github.com/spatie/laravel-blink.git","description":"Cache that expires in the blink of an eye","language":"PHP","stars":162,"topics":["cache","performance","php","laravel"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Cache that expires in the blink of an eye This package contains a helper function (and a Facade should you prefer that) called blink that can cache values. The cache only spans the length of a single request. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer: To enable the package, register the service provider, and optionally register the facade: Usage A Blink instance can just be newed up. You can call the following methods on it: put get has once You can use this to avoid using static variables to cache stuff. This piece of code can be rewritten to all allStartingWith forget flush flushStartingWith pull increment decrement Changelog Please see CHANGELOG for more information on what has changed recently. Testing Contributing Please see CONTRIBUTING for details. Security If you've found a bug regarding security please mail security@spatie.be instead of using the issue tracker. Credits - Freek Van der Herten - All Contributors License The MIT License (MIT). Please see License File for more information.","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-blink/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}