You did thoroughly read https://github.com/austinheap/laravel-database-encryption/blob/master/README.md#installation
Trouble Adding Package
Alright, hoping someone can help me, because I'm lost. I'm new to Laravel, so I'm not sure what I'm doing wrong. First and foremost, I'm trying to install a Database Encryption package to my project (https://github.com/austinheap/laravel-database-encryption). I have followed every single step, and have gotten it to work locally on my machine.
The trouble is, when I go to upload it, and test it out on my shared hosting environment (Fast Comet), I get the following error:
(1/1) ErrorException
Class 'AustinHeap\Database\EncryptionFacade' not found
in AliasLoader.php line 80
at HandleExceptions->handleError(2, 'Class \'AustinHeap\Database\EncryptionFacade\' not found', '/home/azhearca/public_html/vendor/laravel/framework/src/Illuminate/Foundation/AliasLoader.php', 80, array('alias' => 'DatabaseEncryption'))
I am just not sure why I can get it to work on my local machine, but when I upload it, it can't find what it needs. Any ideas why it works in one place, but not the other? Thanks so much!
Did you on local dump autoload, and when uploading, you may want to delete the vendor folder on host and re upload everything.
Backup first in case.
But if it works on local and not host, see if the host has a required extension not enabled, I bet that is the cause, usually is.
Requirements
Laravel 5.5.*
PHP >= 7.1.0
PHP OpenSSL extension
is PHP OpenSSL extension on the host?
Please or to participate in this conversation.