remove a particular key value pair from array from laravel code example Example: php unset array key unset($dataArray['key']);