In this post, I would like to share how to install mail server on Mac OSX. Having mail server is important if you need to send email from your web application in local environment. To do this, we will use Postfix. Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL) and TLS. In …
This tutorial will detail steps you need to follow to install Ruby on Rails on Mac. The main preparation that you must have is your terminal. If you already open your terminal, let’s move on.
This article will guide you how to install MongoDB using homebrew on mac. The steps are very simple by using your terminal. Let’s start
In this post, I would like to share about one of the most well known SOLID Design Principles, Single Responsibility Principle (SRP). It comes from the “S” from SOLID. This principle is the easiest to understand and adhere to.
No doubt that Mockery is one of powerful mock tool for unit testing in PHP. In this post, I will share about how to use Mockery on Codeception. Note: I assume that you already had Codeception installed and bootstrapped.
If you install PHPStorm, you will notice that the default setting of this editor doesn’t show line numbers. For me, it is important to show this. Here is how to activate it.
The default configuration of Bootstrap modal is can be closed when visitor click outside the modal or by pressing the escape (ESC) key. If you want to prevent boostrap modal from closing by those actions, you need to change the value of backdrop and keyboard configuration. The default value of backdrop and keyboard is set …
I had a case to use bind parameter of PDO statement inside loop. This was code that I used I executed this code and got surprising result, it didn’t work. Apparently, PDO statement use $value with last looping value. I took a look at PHPDoc for bindParam() and found why this could be happened.