Replies: 1 comment
-
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! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel Version
12.x
PHP Version
8.2
Database Driver & Version
No response
Description
When making a components with the
php artisan make:component
command, if the provided component name contains a lowercase subfolder, for examplephp artisan make:component book/Form
, the created subfolder name is not recognised on a production Linux host.The solution was to change
App/Views/Components/book
toApp/Views/Components/Book
.Does it make sense to implement this constraint in the
make:component
command, making the View subfolder namelcfirst
on creation?Steps To Reproduce
Run command:
php artisan make:component book/Form
Place
dd();
in the constructor of Form.php.Deploy to Linux host with apache2.
The
dd()
is not fired.Rename
App/Views/Components/book
toApp/Views/Components/Book
and retry.The
dd()
is fired.Beta Was this translation helpful? Give feedback.
All reactions