reziamini / laravel-easypanel

A beautiful and flexible admin panel creator based on Livewire for Laravel
https://easypanel.netlify.app/getting-started
MIT License
617 stars 104 forks source link

[FIX] issue of case-sensitive file path in linux (unix base system) #74

Closed moaminsharifi closed 8 months ago

moaminsharifi commented 8 months ago

Issue description:

In Windows operating systems, file paths are not case-sensitive. On the other hand, Unix-based operating systems, such as Linux and macOS, are case-sensitive. This means that you must use the exact capitalization of the file path to access the file correctly.

*In Windows: You could open a file named "MyDocument.docx" using any of the following paths:

Related:

46 #34

Proposed method:

by using native php method ucwords at src/helpers.php in getCrudConfig function. so it does n't matter user or USER for it and result always should be:

/CRUD/UserComponent.php

TODO: