open-sdk/framework-phpstan

Open SDK extensions for PHPStan

Installs: 2 087

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/open-sdk/framework-phpstan

0.1.0 2018-01-13 21:03 UTC

This package is not auto-updated.

Last update: 2025-09-28 09:35:19 UTC


README

Latest Release Build Status Total Downloads

This package provides some extensions of the Open SDK framework for PHPStan to improve the overall developer's experience.

Features

Dynamic type: resource manager's asModel

OpenSdk\Resource\Manager::asModel() returns the response value, wrapped in a resource model. The model instance can either be the default model type or a custom subclass.

Usage

To use this extension for PHPStan add it to the requirements within Composer.

$ composer require --dev open-sdk/framework-phpstan

And add it to the PHPStan configuration.

includes:
	- vendor/open-sdk/framework-phpstan/extension.neon

License

The MIT License (MIT). Please see License File for more information.