I have a question in PhpWord i'm trying to add image to word using Html code, but this is doesn't work. I used visual studio code and the image is on the folder public. Thanks you to help me.
$html = '<table>
<tr>
<th>Header</th>
<td>Content</td>
<td> <img src'.public_path().'/phone.jpg></td>
</tr>
</table>';
\PhpOffice\PhpWord\Shared\Html::addHtml($section, $html);