Pchnij klucz i wartość w Laravel

public function index()
{
    $collection = collect(['id' => 1, 'name' => 'Hardik']);
  
    $collection->put('role', 'admin');
   
    $collection->all();
      
    dd($collection);
}
Kind Katipo