rapidwebltd / php-uk-bank-holidays

🏖️ PHP UK Bank Holidays lets developers easily retrieve UK bank holiday details.
GNU Lesser General Public License v3.0
13 stars 3 forks source link

Allow users to change cache driver #2

Open DivineOmega opened 6 years ago

DivineOmega commented 6 years ago

Users should be able to specify their own cache driver in case they do not with to use RW File Cache or the Laravel cache driver.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/54261730-allow-users-to-change-cache-driver?utm_campaign=plugin&utm_content=tracker%2F57319160&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F57319160&utm_medium=issues&utm_source=github).
andyjaar commented 3 years ago

This would be useful for us. We are using Eloquent outside Laravel, so it picks up the Laravel class, but then fails as the Cache facade is not bootable.