updated to reflect latest changes in laravel. Fixes #1