Open Sophist-UK opened 1 year ago
The blade files are not real PHP files. They mostly contain HTML and CSS codes. Why do you want to encrypt them?
I don't want to personally - I am posting this on behalf of @vishalmicrolevel - see https://github.com/laravel/framework/discussions/44916
Rather than leaving
*.blade.php
files unencrypted, please consider adding functionality to encrypt blade files using one of the following methods:a. Compile the blade file to raw php and then encrypt it; or
b. Use a method other than phpBolt to encrypt the blade file, storing the (separate) encryption key for this in a phpBolt encrypted blade file.
Both of these methods are likely to require some sort of macroed extension to Laravel's blade to handle these without code changes.