If you want to rename "pivot" word and call your relationship something else, you just use ->as('name')
in your relationship.
Model:
1public function podcasts() {2 return $this->belongsToMany('App\Podcast')3 ->as('subscription')4 ->withTimestamps();5}
Controller:
1$podcasts = $user->podcasts();2foreach ($podcasts as $podcast) {3 // instead of $podcast->pivot->created_at ...4 echo $podcast->subscription->created_at;5}