Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get all setting? #11

Closed
freehzw opened this issue Jan 19, 2023 · 2 comments
Closed

How to get all setting? #11

freehzw opened this issue Jan 19, 2023 · 2 comments

Comments

@freehzw
Copy link

freehzw commented Jan 19, 2023

Now get a setting value must by key name, I'd like to get all setting values one time. Thank you


When set encryption false, but the key still encrypted. I wish the key column not encrypted.

@rawilk
Copy link
Owner

rawilk commented Feb 7, 2023

This is not currently possible as is with the package. Currently the package uses Rawilk\Settings\Support\KeyGenerator to generate the key used for the setting, which is generating an md5 of the key combined with a serialized Context object. There currently isn't a way to override this functionality but I may add it in later. I would recommend forking your own version if you need this functinality.

@rawilk rawilk closed this as completed Feb 7, 2023
@rawilk
Copy link
Owner

rawilk commented Sep 29, 2023

I've just releases v3 of this package, which adds support for both fetching multiple settings at once, and serializing your own keys for storage. I recommend reading the Upgrade Guide to get started upgrading.

Repository owner locked and limited conversation to collaborators Sep 29, 2023
@rawilk rawilk converted this issue into discussion #36 Sep 29, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants