Новый метод withAttributes для отношений и скоупов в Laravel

https://www.amitmerchant.com/with-attributes-scopes-laravel/ The new withAttributes method for relationships and scopes in Laravel