Blog


PhpStorm: Refactoring With Extract Variable

February 24, 2025

PhpStorm: Refactoring With Extract Variable

PHPStorm has some amazing refactoring support build into it. One of the refactoring tools I reach for on a common basis is the the extract variable refactoring which allows us to take a statement...

Read

February 18, 2025

Markdown for Developers

Check out my video on "Markdown for Developers" at the php[architect] YouTube Channel. https://youtu.be/r9AVBLSNjoA

Read

PhpStorm: Refactoring With Inline Variable

February 17, 2025

PhpStorm: Refactoring With Inline Variable

One of the code smells that drive me up the wall is when there's a variable that exists just to pass around a value. For example in the code below we're setting $value to...

Read

PhpStorm: Paste History

February 10, 2025

PhpStorm: Paste History

PHPStorm, like most text editors, has the ability to copy and paste text using Command-C to copy and Command-V to paste. Normally this gets saved to the computer's clipboard and we can only have a...

Read

February 4, 2025

php[tek] 2025 with John Congdon

Check out my video on "php[tek] 2025 with John Congdon" at the php[architect] YouTube Channel. https://youtu.be/tu7g5Cnndao

Read

PhpStorm: InlineError Plugin

February 3, 2025

PhpStorm: InlineError Plugin

I love PhpStorm, but one of the things that really drives me nuts is the fact that I can type errors and it'll just put this little squiggly guy underneth the error but I don't know what that...

Read

New in PHP 8.4: new MyClass()->method() Without Parentheses

January 25, 2025

New in PHP 8.4: new MyClass()->method() Without Parentheses

The 8.4 release of PHP added logic so if we're creating a class and then immediately calling a helper function inside the class the class initialization no longer needs to be in parenthsis. I...

Read

January 24, 2025

Faster Database Performance With Denormalization

Check out my video on "Faster Database Performance With Denormalization" at the php[architect] YouTube Channel. https://youtu.be/6_muUspWtw4

Read

Speaking at php[tek] 2025

January 21, 2025

Speaking at php[tek] 2025

I'm excited to annouce I will speaking at php[tek] this year on database design and static code analysis. There are still tickets available and there are some really great speakers that will be in...

Read

New in PHP 8.4: Deprecated Attribute

January 19, 2025

New in PHP 8.4: Deprecated Attribute

One of the new features added to PHP 8.4 is a new attribute that will allow us to easily mark a function as deprecated in userland code. This will trigger a deprecation notice like when the built-in...

Read