Download the PHP package slam/phpstan-laminas-framework without Composer
On this page you can find all versions of the php package slam/phpstan-laminas-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download slam/phpstan-laminas-framework
More information about slam/phpstan-laminas-framework
Files in slam/phpstan-laminas-framework
Download slam/phpstan-laminas-framework
More information about slam/phpstan-laminas-framework
Files in slam/phpstan-laminas-framework
Vendor slam
Package phpstan-laminas-framework
Short Description Laminas Framework 3 MVC controller plugin extension for PHPStan.
License MIT
Package phpstan-laminas-framework
Short Description Laminas Framework 3 MVC controller plugin extension for PHPStan.
License MIT
Please rate this library. Is it a good library?
Informations about the package phpstan-laminas-framework
PHPStan extension for Laminas Framework
This extension provides following features:
- Provide correct return type for
$container->get()
calls on containers of type\Laminas\ServiceManager\ServiceLocatorInterface
,\Interop\Container\ContainerInterface
or\Psr\Container\ContainerInterface
- Handle controller plugins that are called using magic
__call()
in subclasses of\Laminas\Mvc\Controller\AbstractController
- Provide correct return type for
plugin
method ofAbstractController
,FilterChain
,PhpRenderer
andValidatorChain
getApplication()
,getRenderer()
,getRequest()
andgetResponse()
methods on Controllers, MvcEvents, View, ViewEvent and Application returns the real instance instead of type-hinted interfacesgetView()
method on\Laminas\View\Helper\AbstractHelper
returns the real Renderer instance instead of type-hinted interface\Laminas\Stdlib\ArrayObject
is configured as a Universal object crate- Handle
\Laminas\Stdlib\AbstractOptions
magic properties
Installation
To use this extension, require it in Composer:
If you also install phpstan/extension-installer then you're all set!
Manual installation
If you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:Configuration
This library already recognize built-in services and plugins.
You can opt in for more advanced analysis by providing the service manager from your own application:
For example, tests/service-manager.php
would look something like this:
All versions of phpstan-laminas-framework with dependencies
PHP Build Version
Package Version
The package slam/phpstan-laminas-framework contains the following files
Loading the files please wait ....