slim-static icon indicating copy to clipboard operation
slim-static copied to clipboard

Added support for Slim 3

Open KeizerDev opened this issue 5 years ago • 4 comments

I tested the Container class as that was the thing I'm using this library the most for, the Config class isn't working yet as static::$slim->config($key) will result in a method not found.

KeizerDev avatar May 13 '20 15:05 KeizerDev

Everything works now except for Config. I'm not sure what it was exactly but it seems not to be there in Slim anymore as they only use Containers now. Should I remove it?

KeizerDev avatar May 13 '20 16:05 KeizerDev

Is this going to be merged anytime soon? As I need it for my projects I would like to have it added as soon as possible! If you don't have time for maintothis package I'll probably make a fork and release it that way.

KeizerDev avatar May 24 '20 21:05 KeizerDev

Thanks for your work on this. I originally expected that when Slim 3 was released there might be a need to update this repo, but no one ever asked! I'm not sure how long Slim 3 will be supported now that Slim 4 is a thing, so let me know if you want to fork this repo (and I'll deprecate this package).

johnstevenson avatar May 30 '20 14:05 johnstevenson

I came to the need of this inside my own projects (which are still built with Slim 3) and because of the delay of responding and the need for me to have this I forked it and submitted my fork to composer. I'm not sure if I will update my fork to support Slim 4 but hey it still got Slim 3 support for now, the fork can you found here: https://github.com/KeizerDev/slim-static

KeizerDev avatar Jun 02 '20 22:06 KeizerDev