laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.73k stars 289 forks source link

Undefined constant "LARAVEL_START" in health-up.blade #836

Closed codebarista closed 5 months ago

codebarista commented 5 months ago

Octane Version

v2.3.2

Laravel Version

11.x-dev

PHP Version

8.3.2

What server type are you using?

FrankenPHP

Server Version

1.1.0

Database Driver & Version

No response

Description

Possibly a general issue, but in my test installation of the new Laravel 11 (dev), the "health" route throws an exception. The reason is that the constant LARAVEL_START is used in health-up.blade.php. The constant is not present, at least with FrankenPHP. The default artisan serve works.

https://github.com/laravel/framework/blob/fa1e70a74c202d15db8a856eca1d3d17a93350d6/src/Illuminate/Foundation/resources/health-up.blade.php#L41

Steps To Reproduce

github-actions[bot] commented 5 months ago

Thank you for reporting this issue!

As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.

If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.

Thank you!

driesvints commented 5 months ago

Would appreciate a PR here!

driesvints commented 5 months ago

Fixed!

codebarista commented 5 months ago

Would appreciate a PR here!

Sorry, you're right. We use the awesome Laravel a lot for our projects. I have now forked the repositories and will try my hand at PRs in the future. Thanks for your fix. 👍