boesing / laminas-migration-phpstorm
PHPStorm META informations to work with already migrated projects/libraries without losing autocompletion
Requires
- php: ^7.3
- laminas/laminas-cli: ^0.1.3
- laminas/laminas-zendframework-bridge: ^1.0
- nikic/php-parser: ^4.6
- symfony/finder: ^5.1
Requires (Dev)
- laminas/laminas-coding-standard: ^2.0
- phpunit/phpunit: ^9.2
- vimeo/psalm: ^3.13
Conflicts
This package is auto-updated.
Last update: 2024-12-10 01:50:12 UTC
README
This tool can create a phpstorm meta information with all used laminas
, mezzio
or api-tools
aliases.
Installation
$ composer require --dev boesing/laminas-migration-phpstorm
Configuration
If you are using laminas/laminas-component-installer
, you should be asked if you want to add this package to your project.
If not, add the ConfigProvider
(mezzio) or Module
(MVC) of this package to your applications development
configuration.
WARNING: If you've added this package as a dev-dependency of your composer.json
, make sure you are using laminas/laminas-development-mode
aswell. This is necessary as the ConfigProvider
of this package wont be available if you remove dev-dependencies.
Usage
mkdir -p .phpstorm.meta.php/ vendor/bin/laminas-cli migration:phpstorm-extended-meta vendor/ .phpstorm.meta.php/zendframework.meta.php