Polski: Przepraszam za nieestetyczny wygląd mojej strony internetowej. Niestety z powodu natłoku pracy nie miałem jeszcze czasu nad tym popracować. Posiadam pewną wizję, do której oczywiście będę dążył. Póki co, zapraszam do czytania moich Solucji i Narzędzi.

English: Sorry for the unsightly look of my website. Unfortunately, because of the sheer volume of work I did not have time to work on that. I have a vision, which, of course, I will seek. For now, I invite you to read my Solutions and Tools.

PhpStorm tips and tricks

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

Docker Remote Interpreters

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

Info:

Favourite settings

Settings » Editor » General » Code Folding

  • Uncheck:
    • "File header"
    • "HTML 'style' attribute"
    • "PHP imports"

File Types

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;

Favourite plugins

  • PHP Toolbox
  • PHP Annotations
  • Symfony Plugin
  • Silex/Pimple Plugin
  • PHP composer.json support
  • .ignore
  • BashSupport
  • String Manipulation
Tags: cheatsheet, tips, tricks, phpstorm

« JavaScript fixtures - Favourite code »