using curl in laravel 5 example