Statics and Laravel 4?

So the other day I was thinking why I have to have to call every method as static in core Laravel modules! Where was the ugly PHP arrow operator (->)? I looked into the code and it led to some great ideas and unveiled some very neat practices. Since I …

Artisan::call() not working in Laravel 4

Artisan is a great commandline tool for Laravel Framework. It provides support for application development using powerful Symfony console component. Just the other day i was working on a Laravel 4 package for my own practice and i found the need to run migrations for my database and Artisan came …

Installing Laravel 4 through Composer on XAMPP

The easiest way to install Laravel on your local xampp server is to install through composer Download Composer from https://getcomposer.org/ Run on command line :

The other method is to download Laravel source from  https://github.com/laravel/laravel/archive/master.zip and extract its contents into webroot so that you may access it somewhat like: …

SonarQube for PHP project

SonarQube is a code coverage tool that provides reasonable insight into the reports generated by your test suite and test cases. I have been planning on applying the DDL concept on my next PHP projects. For that I needed a mainstream testing suite and I found that in PHPUnit. It …