Removing require for laravel foundation classes