Category: PHP
Did a thing today, ‘nother new package.
New Package: Stripe + CommandBus + Yii2 I got tired of writing out the entire Stripe class requirements coupled with the need to trigger stripe events…
Yii2 Database Schema Builder…o, thank you!
Came across this in the Yii2 news feeds. Built on Gii it is a UI for building out the database schema. Think MySQL Workbench /…
Checkout my latest OSS contribution!
A very early alpha release but as I am a fan of the command bus design pattern I thought this would be a nice addition: https://packagist.org/packages/davidjeddy/stripe-command-bus-interface GiutHub, Download,…
Yii2 hasOne vs hasMany param order
hasOne() * * public function getCountry() * { * return $this->hasOne(Country::className(), ['id' => 'country_id']); * } * hasMany() * * public function getOrders() * {…
Yii2 and bower/asset: jquery.inputmask AfterAction report…
So last week Im working along and I run composer install … to get a new framework installation to while trying to track down a bug.…
Yii2 AR SQL Verbs; Y-U-SO-WEIRD?
Yii2 being an active record style DB abstraction AND needing to support a wide range of database technologies facilitated creating the standard insert / select…
Shameless Self Promotion: Presenting during Tampa Bay PHP’s May meetup!
https://www.meetup.com/tampa-bay-php/events/239357087/ Update: Video is up on youtube at https://youtu.be/QXSP0bEpF4Y .
Refactoring array index magic number with class constant.
During a code review my peer Michal Mazur turned me onto the follow example; I have to say I am really digging it: Array Index as…
PHP and large CSV’s…
After looking around a bit I have yet to find a way to read a specified line from a file without doing one of the…
PHPStorm 2017.1 released…
I’m sure many of you know this already by JetBrains has released PHPStorm version 2017.1. The improvement list looks nise and Im eager to try…