Generating shorter url using Laravel Framework