Download the PHP package brianhenryie/composer-phpstorm without Composer

On this page you can find all versions of the php package brianhenryie/composer-phpstorm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package composer-phpstorm

PHPCS PSR12

Composer-PhpStorm

Auto-creates PhpStorm Run Configurations for PHP Unit, marks folders as excluded, and configures WordPress integration.

Tested from PhpStorm 2019.3 to 2024.1.2

Overview

Installation

Optionally:

Operation

ExcludeFolders

Folders to exclude can be specified under extras/phpstorm/exclude_folders/folders. These are assumed to be relative from the project root.

PhpStorm automatically adds project folders inside the vendor folder to its excluded folders list, so adding them to the folders list doesn't achieve the desired effect. Instead, the vendor/vendor-name/project/src folder should be added to the exculde_folders/folders list and, counter-intuitively, vendor/vendor-name/project/src should be added to the exculde_folders/include_folders list.

The Composer tool coenjacobs/mozart, for prefixing package namespaces, results in each class being copied, thus each classname::function having multiple implementations in PhpStorm's code completion. This tool reads the Mozart Composer configuration and excludes source folders of packages managed by Mozart.

The file source of symlinks created by kporras07/composer-symlinks are excluded if in the project directory. This can be disabled by setting extras/phpstorm/exclude_folders/folders to false in your composer.json. The file souce of a symlink is not excluded if it is in the root of the project.

Inside /.idea/project-name.iml's <component name="NewModuleRootManager"> <content url="file://$MODULE_DIR$"> adds:

PHPUnitRunConfigurations

The script searches the project directory for phpunit.xml and creates a PhpStorm Run Configuration for each one found (ignoring those under /vendor/), using the name phpunit when found in the project root folder and the folder name otherwise.

Inside /.idea/workspace.xml's <component name="RunManager"> adds:

Why?

WordPress. I write many small plugins, this will click a few buttons for me that I don't much care for.

TODO

See Also

Acknowledgements

I was waiting for MacOS Catalina to download and install. I learned how to write the Composer extension from reading kporras07/composer-symlinks.


All versions of composer-phpstorm with dependencies

PHP Build Version
Package Version
Requires composer-plugin-api Version ^2.0
symfony/filesystem Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package brianhenryie/composer-phpstorm contains the following files

Loading the files please wait ....