1 year ago

Getting the Str::ascii to work on blade

Posted 1 year ago by Shiva

I'm tring to get a string to be converted to ascii, so I came across this Str::ascii but I can't get it to work in my blade template.

here is my code

    $success = url('payfast-success');
    $cancel = url('payfast-cancel');

    $test = Str::ascii($success);


Please sign in or create an account to participate in this conversation.