fix display errors in laravel doc

Some samples had a gravis (`) in it. I removed them.
Also, there were some opening and closing php tags missing, I added them.