Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Route Attributes Laravel Package

spatie/laravel-route-attributes

Register Laravel routes using PHP 8 attributes on controller methods (Get/Post/etc.). Automatically scans configured controller directories and registers routes without manual Route:: definitions. Includes config publishing and optional enabling/disabling of auto registration.

View on GitHub
Deep Wiki
Context7
1.28.0

What's Changed

  • Laravel 13.x Compatibility
1.27.0

What's Changed

  • Use spatie/php-attribute-reader for attribute resolution in #180

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.26.3...1.27.0

1.26.3

What's Changed

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.26.2...1.26.3

1.26.2

What's Changed

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.26.1...1.26.2

1.26.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.26.0...1.26.1

1.26.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.25.2...1.26.0

1.25.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.25.1...1.25.2

1.23.0
1.22.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.21.0...1.22.0

1.20.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.20.0...1.20.1

1.20.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.19.0...1.20.0

1.19.0

What's Changed

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.18.2...1.19.0

1.18.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-route-attributes/compare/1.18.0...1.18.1

1.12.1
  • fix config file
1.11.0
1.10.2
1.10.1
1.10.0
1.9.1
  • add support for Laravel 9
1.9.0
  • add support for the names parameter to the Resource attribute (#56)
1.8.1
  • fix: use \ReflectionAttribute::IS_INSTANCEOF (#55)
1.8.0
  • add group attribute (#54)
1.7.0
  • add additional functionality to get domain from a config file (#50)
1.6.0
  • add apiResource parameter to Resource attribute (#49)
1.5.0
  • add support for resource controllers
1.4.2
  • do not register routes when they are cached (#38)
1.4.1
  • remove facade
1.4.0
  • adds optional Wheres attribute on class and method level (#31)
1.3.0
  • add support for multi-verb routes
1.2.3
  • global middleware from config file will be registered first (#24)
1.2.2
  • change approach to handle routes with prefix (#23)
1.2.1
  • add new check to make sure TestClasses directory exists when running tests (#20)
1.2.0
  • add middleware config option
1.1.0
  • add Domain attribute
1.0.0
  • initial release
What's
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport