laravel wait n seconds then response code example Example: sleep php <?php sleep(4); echo "Done\n"; ?>