Update src/Illuminate/Routing/UrlGenerator.php

Get a double slash if index.php exists in the URL.