edvinaskrucas / settings

Persistent settings package for Laravel 5.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get all Settings?

JFOC opened this issue · comments

commented

Hello,
Any idea how to get all settings, specially when settings is encrypted ?
If I am using general db query for encrypted settings only return encrypted data.

Hi,

Then you have to decrypt it manually by calling decrypt function

commented

Ok.
When encryption is set, the key is encrypted too ?

Key is serialized using key serializer.

commented

It seems I need to change the key without md5, because it will be strange the config name in md5 when listed

Yes, you have to

commented

Do you think would be great if there is an option to switching from md5 and no md5 version ?

It should work if you are not using contexts