Title: feat(router): add php 8 attributes support for route definition by gessyken · Pull Request #349 · bowphp/framework · GitHub
Open Graph Title: feat(router): add php 8 attributes support for route definition by gessyken · Pull Request #349 · bowphp/framework
X Title: feat(router): add php 8 attributes support for route definition by gessyken · Pull Request #349 · bowphp/framework
Description: Add support for defining routes using PHP 8 attributes on controller classes. Controllers can use #[Controller] attribute with prefix and middleware, and methods can use #[Get], #[Post], #[Put], #[Delete], #[Patch] attributes to define routes. The Router::register() method automatically discovers and registers routes from controller classes. Includes 22 tests.
Open Graph Description: Add support for defining routes using PHP 8 attributes on controller classes. Controllers can use #[Controller] attribute with prefix and middleware, and methods can use #[Get], #[Post], #[Put], #[...
X Description: Add support for defining routes using PHP 8 attributes on controller classes. Controllers can use #[Controller] attribute with prefix and middleware, and methods can use #[Get], #[Post], #[Put], #[...
Opengraph URL: https://github.com/bowphp/framework/pull/349
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2f84b6c4-bf65-1e17-a9f2-0be6edc02f81 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC5C:96A16:1EAC1F:282313:698D2B13 |
| html-safe-nonce | 5dfdf1781bdd88db8c2789e1e6d3120c605ec739952b61007c82a1e2c9c1b1af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzVDOjk2QTE2OjFFQUMxRjoyODIzMTM6Njk4RDJCMTMiLCJ2aXNpdG9yX2lkIjoiOTAzNjIxNDI4NjAzNzEwMTMzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1f3e523fcbc6c254d7f7f09f0ea1bbef36542c2997a6e97d6c97cf4a615e2554 |
| hovercard-subject-tag | pull_request:3143061706 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/bowphp/framework/pull/349/files |
| twitter:image | https://avatars.githubusercontent.com/u/129058258?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/129058258?s=400&v=4 |
| og:image:alt | Add support for defining routes using PHP 8 attributes on controller classes. Controllers can use #[Controller] attribute with prefix and middleware, and methods can use #[Get], #[Post], #[Put], #[... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c25395580e1e3bf82d705e0982a1b24255366088720fef945f1493d5e3e67954 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/bowphp/framework git https://github.com/bowphp/framework.git |
| octolytics-dimension-user_id | 40915649 |
| octolytics-dimension-user_login | bowphp |
| octolytics-dimension-repository_id | 140084325 |
| octolytics-dimension-repository_nwo | bowphp/framework |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 140084325 |
| octolytics-dimension-repository_network_root_nwo | bowphp/framework |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1fa2bc33fc715bfb2cb9dd8a9cad4f811c16c371 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width