Refactored to use laravel/framework.