Weave 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
Php Language Extensions

Php Language Extensions Laravel Package

dave-liddament/php-language-extensions

PHP Language Extensions adds attributes for immutable classes, pure functions, read-only properties, and named parameters, with PHPStan rules to enforce them. Bring stronger safety and clearer APIs to PHP without waiting for new syntax.

View on GitHub
Deep Wiki
Context7

dave-liddament/php-language-extensions brings expressive, attribute-based language extensions to PHP, enforced at analysis time by PHPStan and Psalm rather than at runtime. Declare intent directly in code and let static analysis catch violations, improving safety without changing PHP’s runtime behaviour.

  • #[Pure] marks side-effect-free functions and methods.
  • #[Immutable] enforces immutable classes.
  • #[Package] provides package-private visibility boundaries.
  • #[Alias] aliases named-argument parameter names.
  • #[NoNamedArguments] disallows named arguments for a callable.
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.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect