-
Notifications
You must be signed in to change notification settings - Fork 11.4k
[9.x] Allows to remove the server.php
file
#40034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I absolutely love this change. Thank you. |
I like it 👍 |
Is it going to be possible to keep using a custom file? We have made some adjustments to add cache-headers to static files to improve performance of Cypress-tests. Of course, we could run the test server differently, but using the built-in server is very convenient. |
@Krisell Yes, you can still keep your customized
|
Oh wow I can't believe I didn't see that piece when glancing at the code. Thanks! |
The
serve
artisan command makes use of theserver.php
file that exists on the root of each Laravel project. This file, it's basically the same since 11 Jan 2013, and never needs to be modified at user-land.So this pull request proposes that we remove the file from the Laravel 9 skeleton (user-land), and move it to the framework itself.
laravel/laravel#5747