Many To Many: Customizing The pivot Attribute Name

Return $this->belongsToMany('App\Podcast')
                ->as('subscription')
                ->withTimestamps();
$users = User::with('podcasts')->get();

foreach ($users->flatMap->podcasts as $podcast) {
    echo $podcast->subscription->created_at;
}

Many To Many: Customizing The pivot Attribute Name — Structure map

Clickable & Draggable!

Many To Many: Customizing The pivot Attribute Name — Related pages: