Download the PHP package slam/phpstan-zend-framework without Composer
On this page you can find all versions of the php package slam/phpstan-zend-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download slam/phpstan-zend-framework
More information about slam/phpstan-zend-framework
Files in slam/phpstan-zend-framework
Download slam/phpstan-zend-framework
More information about slam/phpstan-zend-framework
Files in slam/phpstan-zend-framework
Vendor slam
Package phpstan-zend-framework
Short Description Zend Framework 3 MVC controller plugin extension for PHPStan.
License MIT
Package phpstan-zend-framework
Short Description Zend Framework 3 MVC controller plugin extension for PHPStan.
License MIT
Please rate this library. Is it a good library?
Informations about the package phpstan-zend-framework
Repository abandoned 2019-12-31
This repository has moved to Slamdunk/phpstan-laminas-framework.
PHPStan extension for Zend Framework
This extension provides following features:
- Provide correct return types for
\Zend\ServiceManager\ServiceLocatorInterface::get()
using real service instances - Handle controller plugins that are called using magic
__call()
in subclasses of\Zend\Mvc\Controller\AbstractController
getApplication()
,getRenderer()
,getRequest()
andgetResponse()
methods on Controllers, MvcEvents, View, ViewEvent and Application returns the real instance instead of type-hinted interfacesgetView()
method on\Zend\View\Helper\AbstractHelper
returns the real Renderer instance instead of type-hinted interface\Zend\Stdlib\ArrayObject
is configured as a Universal object crate- Handle
\Zend\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-zend-framework with dependencies
PHP Build Version
Package Version
The package slam/phpstan-zend-framework contains the following files
Loading the files please wait ....