Testing Laravel's core is a critical part of making and submitting changes to the codebase. Without testing it's incredibly difficult to know if your changes break something. It's possible that your seemingly perfect modification could cause an error in something obscure that few people would ever use. It's important to test for an increased level of confidence.
A few preparations must be made when unit testing Laravel's core in Windows. In the video I walk through updating PEAR, PHPUnit, enabling the fileinfo PHP extension, and pulling down the framework / core tests.
Clone the Laravel framework.
git clone https://github.com/laravel/laravel.git
Clone the laravel-tests bundle into the bundles folder.
cd laravel/bundles git clone https://github.com/laravel/tests.git laravel-tests
Change directories to your PHP installation folder.
pear upgrade pear
pear upgrade phpunit/PHPUnit
Laravel's File class uses the fileinfo extension. This is generally not enabled by default in Windows packages.
In your php.ini file find the following line.
Uncomment the extension by removing the semi-colon.
Then restart your apache.
Change directories into the folder that you cloned Laravel into.
Then, run the tests against the core.
php artisan test:core
Using Laravel and Eloquent I explain Mass-assignment and how it can create an easily exploitable security-hole in your code.
I have modified Eloquent to add mass-assignment white-list functionality and have submitted the following pull-request: https://github.com/taylorotwell/eloquent/pull/19
Edit: this functionality has been merged into Eloquent
Laravel's bundle system allows for developers to package libraries, models, migrations, routes, collections of MVC components, or entire sites into modular components that can be installed from a call on the command-line.
I highly encourage you to check out Laravel as 3.x is stable and production-ready. The documentation is good and the community is growing very quickly. In all honesty I see Laravel as the new baseline in which all other PHP frameworks should be judged. (not including full-stack frameworks such as Zend or Symfony)
I was given the opportunity to interview Taylor Otwell about his PHP web development framework Laravel.
We love Laravel (this site was built with it) and we think that you will love it, too.
You can learn more about Laravel at http://laravel.com. There you can find the Laravel forums which are great for checking out information about new releases and asking questions. You can also join the #Laravel IRC channel on irc.freenode.net is full of smart people who can help to answer any questions that you have.