Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psliwa/idea-composer-plugin
PhpStorm plugin that adds code completion in composer.json file
https://github.com/psliwa/idea-composer-plugin
composer intellij-plugin phpstorm-plugin scala
Last synced: about 2 months ago
JSON representation
PhpStorm plugin that adds code completion in composer.json file
- Host: GitHub
- URL: https://github.com/psliwa/idea-composer-plugin
- Owner: psliwa
- License: mit
- Created: 2014-12-05T20:24:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T19:50:00.000Z (almost 5 years ago)
- Last Synced: 2024-08-08T01:56:42.588Z (5 months ago)
- Topics: composer, intellij-plugin, phpstorm-plugin, scala
- Language: Scala
- Size: 997 KB
- Stars: 335
- Watchers: 6
- Forks: 10
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# PHP composer.json support
[![Build Status](https://travis-ci.org/psliwa/idea-composer-plugin.svg?branch=master)](https://travis-ci.org/psliwa/idea-composer-plugin)
[![Version](http://phpstorm.espend.de/badge/7631/version)](https://plugins.jetbrains.com/plugin/7631)
[![Downloads](http://phpstorm.espend.de/badge/7631/downloads)](https://plugins.jetbrains.com/plugin/7631)
[![Downloads last month](http://phpstorm.espend.de/badge/7631/last-month)](https://plugins.jetbrains.com/plugin/7631)
[![Donate using Paypal](https://img.shields.io/badge/donate-paypal-yellow.svg)](https://www.paypal.me/psliwa)
[![Donate using Bitcoin](https://img.shields.io/badge/donate-bitcoin-yellow.svg)](https://blockchain.info/address/1Q6f6ZAqYFVzSaBf9AZJ6Ba948jjmQJU4A)Adds code completion, inspections and more to composer.json file.
This plugin provides:
* completion for:
* composer.json schema
* package names and version (in require, require-dev etc) from packagist repository and custom repositories defined in composer.json file ("composer", "package" and "path" repository types are supported right now)
* filepath completion (in bin, autoload etc)
* class and static method names in "scripts" properties
* namespaces eg. in "autoload.psr-0" property* inspections for:
* composer.json schema + quick fixes (remove entry / property, create property etc.). Schema inspections and completions are synced to [eea4098 commit of composer/composer][3] repository.
* filepath existence (in bin, autoload etc) + quick fixes (remove entry, create file / directory)
* misconfiguration + quick fixes
* version constraints misconfiguration + quick fixes
* not installed packages + install quick fix
* scripts callbacks (class names and method signature)* navigation for (eg. by Ctrl+LMB):
* class and method names in "scripts" properties
* files and directories in properties that store file path (eg. "bin")
* package directory (eg. in "require", "require-dev")
* urls and emails (eg. in "homepage")* documentation:
* external documentation (`shift+f1`) for packages
* quick docs (`ctrl+q`) and external docs (`shift+f1`) for properties* others:
* show current installed version from `composer.lock`[There][2] you can find plugin homepage.
## This plugin in work
![Screen][1]
## What's next?
* If you have feature ideas, please create an issue! I have created a lot of features that used to be useful
for me during my daily job, so I waiting for yours ideas too ;)[1]: https://plugins.jetbrains.com/files/7631/screenshot_14847.png
[2]: https://plugins.jetbrains.com/plugin/7631
[3]: https://github.com/composer/composer/commit/eea4098f9800ddb536a907d637b7e084bfe15b7c