PHPSTorm, once again showing why it’s the best PHP Editor.
EAP 2018.1 will include loop refactoring to use SPL array_* functions. Nice! Refactor your code to functional style with PhpStorm 2018.1
EAP 2018.1 will include loop refactoring to use SPL array_* functions. Nice! Refactor your code to functional style with PhpStorm 2018.1
Came across a shot article from Ivan Enderlin about the ::class constant. Some things to be aware of if you like using it as much as I do. It’s a 3 minute… Read More »Random thoughts about `::class` in PHP by Ivan Enderlin
I usually do not post ‘tips and tricks’ links but this one is super informative. As a PHP centric programmer composer is a daily part of my life. This list… Read More »Handy list of PHP Composer tips.
A project I heavily rely on these days recently got some updates. Shameless plug: I was kinda a part of a bunch of them. utf8-mb4 update for MySQL data… Read More »Yii2-starter-kit update…and shameless plug.
As part of a test I had to ensure only two alphabetical characters would allowed. So I used `chr(rand(97,122))`; which on a OSX machine is letters a->z. However, this character… Read More »An example of when being to clever can come back to bite you…
Asmir Mustafic (@goetas_asmir) did a 10 minute presentation over at NomadPHP on how to deploy your PHP (or really any process) using docker. https://nomadphp.com/deploy-php-app-docker/?utm_source=rss&utm_medium=rss&utm_campaign=deploy-php-app-docker
Today I got to a change request that read something to the order of ‘move all this code from place X, the new namespace Y. By the way, it is… Read More »A prime example of why automated testing works…
Backstory: Another week, another evening at the Pub with some friends and colleges. Somehow or the other we got on the topic of database insert performance and how long it would… Read More »Out of the box performance: PHP + PDO + MariaDB
…specifically the Yii2: ORM and DB module and transactions. The Yii2 $I->seeRecord() & related methods do NOT use the same connection ID as the DB module. So doing actions such… Read More »PSA: Do not use Codeception DB and Yii2 modules together…
New Package: Stripe + CommandBus + Yii2 I got tired of writing out the entire Stripe class requirements coupled with the need to trigger stripe events from different areas of the… Read More »Did a thing today, ‘nother new package.