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

Phpstan Shim Laravel Package

phpstan/phpstan-shim

Deprecated shim for PHPStan. Since PHPStan 0.12, the main phpstan/phpstan package ships as a PHAR, making phpstan/phpstan-shim unnecessary. Upgrade by switching composer dependency to phpstan/phpstan ^0.12 and reinstalling.

View on GitHub
Deep Wiki
Context7

phpstan/phpstan-shim

Thank you for using PHPStan!

With the release of PHPStan 0.12, the primary Composer package used by most users, phpstan/phpstan, has switched to a PHAR file. It works the same way as phpstan-shim. The need for a separate PHAR distribution has ceased. Package phpstan/phpstan-shim is no longer needed.

You should upgrade to phpstan/phpstan 0.12 with the following steps:

  1. In your composer.json, rewrite line with "phpstan/phpstan-shim" to "phpstan/phpstan": "^0.12".
  2. Delete your composer.lock.
  3. Delete vendor/phpstan directory.
  4. Delete vendor/bin/phpstan and vendor/bin/phpstan.phar.
  5. Run composer install.

If you have any problem upgrading, don't hesitate to describe your issue at: https://github.com/phpstan/phpstan/issues/new/choose

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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui