If you manually deploy your PHP web application by updating revision, setting proper permissions, running tests, etc, from the command line, maybe it's time for you to automate these things better to save time. In case you have already tried, and maybe you are a little distracted by learning such a build system like "phing", well, there is good news for you: you can avoid that … [Read more...] about Build PHP Web Application In One Step Using Makefile
php
PHPUnit Tutorial For Beginners
I have been using PHPUnit for quite some time now. I thought a few times about writing about it, but it hasn't happened till now. This is my first tutorial on testing as well. The official documentation/getting started guide is already quite good. However, I find it a little insufficient in several cases and could be a little hard to start with as a beginner. Thus, I am writing … [Read more...] about PHPUnit Tutorial For Beginners
PHP HTTP Request With Guzzle
If you are consuming some API with complex PHP HTTP requests which don't provide a clean wrapper library, I can feel the nightmare you might be having. The same could happen if you are writing an API wrapper. Here, I will try to introduce you to Guzzle Library and get a quick start. This article is targeted at complete beginners, so if you are already somewhat experienced, you … [Read more...] about PHP HTTP Request With Guzzle
Using Composer With Codeigniter
For all web app developers who have started using modern frameworks like Symfony, Silex, Laravel, etc. and have wished for composer support inside their CodeIgniter application, I will try to show you the most efficient and standardized way to achieve this goal. I have also added this feature to my CodeigniterPlus project, and if you are familiar with that project, you can also … [Read more...] about Using Composer With Codeigniter
PHP Dynamic Object With Array And Iterative Access Ability
We, PHP Programmers, usually write a class with its required predefined attributes and getter/setter properties and use them inside our application. That's cool enough. But what happens when there is data which isn't quite stable/missing some attribute often, or sometimes might have several more attributes that we don't know/require? If you have worked with various API-like … [Read more...] about PHP Dynamic Object With Array And Iterative Access Ability