Blog


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

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

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

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

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

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

January 14, 2025

Neon With Mahmoud Abdelwahab

Check out my video on "Neon With Mahmoud Abdelwahab" at the php[architect] YouTube Channel. https://youtu.be/aPh-t9CZRtk

Read

January 12, 2025

New in PHP 8.4: Asymmetric Visibility

One of the new features added to PHP 8.4 is the ability for us to define Asymmetric Visibility on properties inside our classes. This is done by defining the get visibility for the...

Read