Things I've Learnt from Refactoring

Currently, there are lots of sites based on WordPress running steadily in our company, except the project which I'm working on threw out so many issues. since all of us were tired and bored with endless hotfixes, it's time for us to refactor this project, or there would be more and more features imm

Unit Testing API with Guzzle

At the beginning of this post, I’d like to show you how to test APIs by using Laravel or Guzzle. The different is functions provided by Laravel can only be used to test the features built on Laravel. For example, if you have a page for file uploading and you want to test it, it’s very simple by usin