erjon / php_encrypter
v0.9
2024-07-29 14:43 UTC
Requires
- ext-openssl: *
- laravel/framework: ^8.0|^9.0|^10.0|^11.0
README
Usage
Encryption for php files of the laravel project.
Please read before using
This is meant to be used only one time when the project is installed.
Modifications inside the folders of this package will result in failure of running the project.
To decrypt the files, date modification of package files is required.
This package prevents copies of the laravel project if used correctly.
It does not work with blade files
First step
Create a copy of your project before proceeding
Installation
composer require erjon/php_encrypter
Publish config file
php artisan vendor:publish --tag=erjon_encrypter
Modify this file to include what folders of the project you have worked
Encrypt files
php artisan project:encrypt
Only run this once
That's it you can run your project like always
If you want to make changes to the project, you can decrypt the files with the following command
php artisan project:decrypt key_provided_in_the_encryption_command