How do I correctly add custom database support in Laravel 5?
Let's say you want to add custom database support to Laravel 5. Whether it's MongoDB, Oracle, or the sqlite mod (SQLCipher). How would you do it?
I am looking for a suitable, elegant solution. No core-hacking, which is easy to do but will force you to manually parse the codebase and rewrite it on every Laravel update.
Background
Actually this question was asked while trying to implement sqlcipher support in Laravel. Analyzed alternative crypto resources did not find a suitable way to manage MySQL or Postgre keys, so decided to go with encrypted sqlite. Actually, it might be possible to copy the sqlite procedure and just change the lib + add key query, but as I said, I don't want to hack into the kernel. It just isn't right.
source to share
No one has answered this question yet
See similar questions:
or similar: