blade-ui-kit / blade-icons

A package to easily make use of SVG icons in your Laravel Blade views.
https://blade-ui-kit.com/blade-icons
MIT License
2.21k stars 148 forks source link

Caching in specified writable directory #254

Open doender opened 3 weeks ago

doender commented 3 weeks ago

Library version

1.7.2

Laravel version

11.29.0

PHP version

8.3.6

Description

We are deploying our Laravel app on Google App Engine (GAE) but are encountering issues with caching, as the cache directory appears to be fixed to bootstrap/cache: https://github.com/blade-ui-kit/blade-icons/blob/1.x/src/BladeIconsServiceProvider.php#L81. Since GAE only allows the /tmp directory to be writable, we cannot enable caching. Is there currently a way to configure the cache directory? If not, would you be willing to accept a PR for this?

Steps to reproduce

N/A

driesvints commented 3 weeks ago

Yes I can definitely accept a PR for it 👍 Maybe also add a section for it to the caching docs. Thanks!