Create an Restfull api and let laravel manage cryp/decrypt.
Crypt:: is just a facade that points to Encrypter.php (vendor/framework/src/Illuminate/Encryption/Encrypter.php
).
So you can import that class and it dependencies to old website, or you can extract only encryption part, whatever suits you needs.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community