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

Reflection Laravel Package

typhoon/reflection

Static, fast alternative to PHP’s native Reflection. Reflects code without running or autoloading it, uses lazy loading + caching, and stays compatible with native reflection. Supports Psalm/PHPStan phpDoc types, template resolution, and avoids memory leaks (safe with zend.enable_gc=0).

View on GitHub
Deep Wiki
Context7
0.4.4

Fixed

  • Resolve templates in type arguments of inherited parents and interfaces.
0.4.3

Added

  • Add ConstantReflection and TyphoonReflector::reflectConstant().
0.4.2

Added

  • Add AttributeReflection::evaluate() to emphasize the risk of runtime errors.
  • Add AttributeReflection::evaluateArguments() to emphasize the risk of runtime errors.
  • Add ClassConstantReflection::evaluate() to emphasize the risk of runtime errors.
  • Add ParameterReflection::evaluateDefault() to emphasize the risk of runtime errors.
  • Add PropertyReflection::evaluateDefault() to emphasize the risk of runtime errors.

Deprecated

  • Deprecate calling AttributeReflection::newInstance() in favor of evaluate().
  • Deprecate calling AttributeReflection::arguments() in favor of evaluateArguments().
  • Deprecate calling ClassConstantReflection::value() in favor of evaluate().
  • Deprecate calling ParameterReflection::defaultValue() in favor of evaluateDefault().
  • Deprecate calling PropertyReflection::defaultValue() in favor of evaluateDefault().
0.4.1

Fixed

  • Reflect trait @use PHPDoc in classes without a class-level PHPDoc.
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle