For $p = 1$, the proof uses the triangle inequality, $\lvert f(x) + g(x)\rvert \leqslant \lvert f(x)\rvert + \lvert g(x)\rvert$, and the monotonicity of the integral. You have equality $\lVert f+g\rVert_1 = \lVert f\rVert_1 + \lVert g\rVert_1$ if and only if you have equality $\lvert f(x) + g(x)\rvert = \lvert f(x)\rvert + \lvert g(x)\rvert$ almost everywhere. That means that almost everywhere at least one of the two functions attains the value $0$, or both values "point in the same direction", that is, have the same argument. You can simply formalise that as $f(x)\cdot\overline{g(x)} \geqslant 0$ almost everywhere.
For $1 < p < \infty$, in addition to the triangle inequality, the proof of Minkowski's inequality also uses Hölder's inequality,
$$\begin{align}
\int \lvert f+g\rvert^p\,d\mu &\leqslant \int \lvert f\rvert\cdot\lvert f+g\rvert^{p-1}\,d\mu + \int \lvert g\rvert\cdot\lvert f+g\rvert^{p-1}\,d\mu\tag{1}\\
&\leqslant \lVert f\rVert_p \lVert f+g\rVert_p^{p-1} + \lVert g\rVert_p \lVert f+g\rVert_p^{p-1}.\tag{2}
\end{align}$$
You then have equality $\lVert f+g\rVert_p = \lVert f\rVert_p + \lVert g\rVert_p$ if and only equality holds in $(1)$, and for both terms in $(2)$.
Equality in $(1)$ is nearly the same as for the $p=1$ case, that gives a restriction $f(x)\cdot\overline{g(x)} \geqslant 0$ almost everywhere, except maybe on the set where $f(x)+g(x) = 0$ (but equality in Hölder's inequality forces $f(x) = 0$ and $g(x) = 0$ almost everywhere on that set, so at the end we really must have $f(x)\cdot \overline{g(x)} \geqslant 0$ almost everywhere if $\lVert f+g\rVert_p = \lVert f\rVert_p + \lVert g\rVert_p$). For equality of the terms in $(2)$, if $f+g = 0$ almost everywhere, we must have $f=g=0$ almost everywhere, and if $\lVert f+g\rVert_p > 0$, we have equality if and only there are constants $\alpha,\beta \geqslant 0$ with $\lvert f\rvert^p = \alpha \lvert f+g\rvert^p$, and $\lvert g\rvert^p = \beta\lvert f+g\rvert^p$ almost everywhere. We can of course take $p$-th roots, and together with the condition imposed by the triangle inequality, we obtain that
$$\lVert f+g\rVert_p = \lVert f\rVert_p + \lVert g\rVert_p$$
holds if and only if there are non-negative real constants $\alpha,\beta$, not both zero, such that $\alpha f(x) = \beta g(x)$ almost everywhere.