spiritix / lada-cache

A Redis based, fully automated and scalable database cache layer for Laravel
MIT License
535 stars 68 forks source link

Add support for Lumen #92

Open spiritix opened 4 years ago

spiritix commented 4 years ago

The library has not yet been tested with Lumen, it seems that there are some issues at least.

merlinblack commented 3 years ago

We are using lada-cache in production on Lumen. As far as I can remember we only needed to provide a config_path function.

`<?php

if ( ! function_exists('config_path')) { /**

michael-rubel commented 2 years ago

Looks like it's zero point to keep supporting Lumen now, due to the release of Laravel Octane. Lumen users should upgrade applications to Laravel if they wanna keep their apps up with new features and performance boosts.

spiritix commented 2 years ago

Yeah I agree, if the only reason for using Lumen was performance, then it's better to upgrade to Laravel anyway. Framework bootstrap only makes a very small part of application loading time, and nowadays with PHP8 and even Octane it's pretty much negligible.