A port of Laravel 3's Form class