annotation / route
This package provides routing annotation specifications.
Requires
- php: ^8.0
This package is auto-updated.
Last update: 2025-05-30 16:18:12 UTC
README
Routing Annotation
This package provides routing annotation specifications.
Table of Contents
Installation
You can install the package via Composer:
composer require annotation/route
Attribute | TARGET_CLASS | TARGET_METHOD | IS_REPEATABLE | Interface |
---|---|---|---|---|
Config | Yes | - | - | Config |
Domain | Yes | - | - | Routing |
Prefix | Yes | - | - | Routing |
Group | Yes | - | Yes | Routing |
Resource | Yes | - | - | Routing,Resource |
Singleton | Yes | - | - | Routing,Resource |
Middleware | Yes | Yes | - | Routing |
WithoutMiddleware | Yes | Yes | - | Routing |
WithTrashed | Yes | Yes | - | Routing |
ScopeBindings | Yes | Yes | - | Routing |
Defaults | Yes | Yes | Yes | Routing |
Where | Yes | Yes | Yes | Routing,Where |
Route | - | Yes | Yes | Routing,Route |
Fallback | - | Yes | - | Routing |
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Contributors
Thanks goes to these wonderful people:
Contributions of any kind are welcome!
License
Distributed under the project_license. Please see License File for more information.