demo icon indicating copy to clipboard operation
demo copied to clipboard

Attribute routes example

Open xepozz opened this issue 2 years ago • 2 comments

image image image

In development I just run the worker in console php watcher.php and it rebuild the attributes map as fast as possible: image

Related: https://github.com/yiisoft/router/pull/194

xepozz avatar Mar 27 '23 21:03 xepozz

PR Summary

  • 🔧 Code Formatting Improvement Adjusted formatting in the application.php file
  • 📚 Documentation Update Added @OA\Schema reference for better API documentation
  • 🏗️ New Watcher Build Scripts Implemented watcher-build.php and watcher.php
  • 🛣️ Route Configuration Enhancement Changed route creation in config/common/routes/routes.php to use attributes
  • 🏷️ Attribute Annotations Added Included attribute annotations for SiteController, ApiUserController, and Actions\ApiInfo classes

what-the-diff[bot] avatar Mar 27 '23 21:03 what-the-diff[bot]

Nice. That should at least go into cookbook.

samdark avatar Mar 28 '23 06:03 samdark