I read your example in medium but did not understand how it works at all. I encode successfully but I do not know how to use it in Laravel.