Free  PHPUnit Tip - Access Private Properties of an Object via Closure

In this tutorial, we share a tip on how we can access a private property of an object without using getter/setter methods. Sometimes, when writing out tests, to inspect the private properties of our testing class, we ...

View details

Free  Quick tip on working with timezone in CakePHP 3

In a recent project, we need to allow users to set start and end time of their events and the application is targeted worldwide clients, which leads us to discover some tips on working with timezone in CakePHP 3. ...

View details

Free  Dealing with date range

In this tutorial, we walk through a few different scenarios of using league/period. The package league/period is from PHP League and its purpose is to make handling date range in PHP easier for developers. ...

View details

Free  Markdown Processing in PHP

Markdown is a text-to-HTML conversion tool for web writers. It has gained its deserved popularity after its introduction on 2004. Markdown allows you to write text while providing a format in an easy and clean wa...

View details

Free  Manually reconnect MySQL in CakePHP 3

We have encountered a weird issue in our CakePHP 3 application recently. It is a trick solution and we decide to blog about it in case anyone else needs it. Table Of Content ...

View details