Iconfig (Instant config) is a stand alone component/package for any PHP application, which is built to easily manage configurations for any PHP application, available on Packagist. How To Use : At first, install it using composer, if you don’t know how to use composer then learn to use it and...
→ Read MoreWell, It’s true that Php was not matured enough in it’s early days but now Php become very so much powerful and recently Php 5.5.x has been arrived with some cool new features which are really powerful additions to Php so thanks to Php who are working hard to make...
→ Read MoreOn 20-Jun-2013, the PHP development team has announced the immediate availability of PHP 5.5.0 and this release includes a large number of new features and bug fixes. The new features of PHP 5.5.0 includes : Generators : Support for generators has been added via the yield keyword. Generators provide an...
→ Read MoreIn WordPress admin/back end it says : Warning: cannot modify header information – headers already sent by (output started at /home/…../header.php:3) in /home/…. on line xxx Well, this is a very common problem and old too, which has been discussed/resolved in so many places on the WEB (IMO) and it...
→ Read MoreIn WordPress, the search url is not pretty, I mean it’s not search engine friendly (uses query string), it looks something like http://example.com?s=foo and it’s doesn’t look very professional. So, if you want to change the url to something like http://example.com/search/foo then it’s possible and very easy, just 2 steps....
→ Read MoreGetSetGo is a dynamic setter-getter library for PHP 5.4+. Its developed by me and Muhammed Usman, and yes, it’s well unit tested. You can use methods like setFoo('bar') and getFoo(), which you don’t have to create (in your class). GetSetGo will make these methods work for you automatically as long...
→ Read MoreIn Php there are many useful magic methods and two of those are __call() and __callStatic() methods. These magic methods are similar to __get() and __set() but only difference is that these are for class methods instead of class properties (variables). If we call an undefined method or a method...
→ Read MoreIn Laravel 4 there is a very nice way to bind data automatically with a view using a View Composer. View composers are callbacks or class methods that are called when a view is created. If you have data that you want bound to a given view each time that...
→ Read More