ViewModel extension for laravel