I have a .php
file in the public folder of Laravel and for bigger reasons I can not create a controller of it. However I need to use the bcrypt
function to generate the password an encrypted password, but I can not use this function in a .php
pure file in the public
folder.
How can I use this function?