Skip to content
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

feat: [Auto Routing Improved] add option to translate uri to camel case #8321

Merged
merged 13 commits into from
Dec 14, 2023

Conversation

kenjis
Copy link
Member

@kenjis kenjis commented Dec 11, 2023

Description
This PR adds an option to translate URI dashes to CamelCase controller and method names.

For example, the URI sub-dir/hello-controller/some-method will execute the SubDir\HelloController::getSomeMethod() method.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis added enhancement PRs that improve existing functionalities 4.5 labels Dec 11, 2023
@kenjis kenjis merged commit 0efc561 into codeigniter4:4.5 Dec 14, 2023
46 checks passed
@kenjis kenjis deleted the feat-translateUriToCamelCase branch December 14, 2023 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.5 enhancement PRs that improve existing functionalities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants