I have several Laravel
projects on the same server. I often need to use employee photos and, as I have programmed it, I copy the photos from the public/assets/
images directory of an existing project into the same directory as the developing project, causing a very large increase of duplicate files. Is there a way to share photos between projects or have a common repository?
I saw a feature in Laravel, which is the use of 'symbolick link', but I did not quite understand how to do it.
Below, I give an example of the idea that I am trying to approach, not knowing if this is the way. The code is from the developing project, needing to take the photo path of another existing project, using the word pathFile as this note:
<tr>
<td>
<img src='+caminhoArquivo+'+retorno[i].foto+'" style="width:50%;height:auto;" />
</td>
</tr>
Would it be possible?