Skip to content
This page is archived. Mostly about Silex and PhpStorm 2016; the parts still useful moved to the JetBrains notes. All archived pages

PhpStorm tips and tricks

Pimple File Dumper - Helper Provider for Silex Idea Plugin

Section titled “Pimple File Dumper - Helper Provider for Silex Idea Plugin”

PhpStorm: Settings » Plugins » Browse repositories… » Silex/Pimple plugin Composer: https://packagist.org/packages/sorien/silex-pimple-dumper Composer: https://packagist.org/packages/jbzoo/pimpledumper

JetBrains Blog: Docker Remote Interpreters PhpStorm: Settings » Languages & Frameworks » PHP

  • CLI Interpreter » […]
    • CLI Interpreters » [+] → Remote…
    • Configure PHP Remote Interpreter → Docker → [New…]
      • Docker2 » API URL: unix:///var/run/docker.sock
    • Image name: gander/dev:7.1
    • PHP excecutable: php
  • Path mappings: PhpStormProjects/project.dev : /www/project.dev
  • Docker container » […]
    • Network mode: lamp_default (default: bridge)
    • Links: lamp_pgsql_1 : pgsql
    • Volume bindings: /www/project.dev : PhpStormProjects/project.dev
  • File | Settings | Editor | General | Code Folding
    • General
      • File header
    • PHP
      • Imports
    • XML
      • HTML ‘style’ attribute
  • File | Settings | Version Control | Confirmation
    • Restore workspace on branch switching

PhpStorm: Settings » Editor » File Types:

Recognized File Types

Registered patterns

Docker

Dockerfile.*

JSON

*.json.dist composer.lock composer.lock.dist

YAML

*.yml.dist *.yaml.dist

Ignore

.git-ftp-ignore .git-ftp-include

/**\n * @var $2\n*/\npublic \$$1;
  • PHP Toolbox
  • PHP Annotations
  • Symfony Plugin
  • Silex/Pimple Plugin
  • PHP composer.json support
  • .ignore
  • BashSupport
  • String Manipulation