Random

phpStorm Code Styles

How often have you been working on a project and had the nuances of someone else’s style complicate your workflow? Too often if I ask myself. This is why my teams now are almost all universally using phpStorm, and why I absolutely love code styles. Generally speaking, PSR-2 is a great standard and Read more…

By Jake Litwicki, ago
Random

phpStorm live templates (code snippets)

phpStorm has a wonderful feature called Live Templates that lets you quickly and easily define code templates (what I usually refer to as a snippet) for code you frequently have to write. For example: Foreach loops on a standard array of entities ($entities) Symfony isGranted checks via security.context Getters or setters Read more…

By Jake Litwicki, ago