I have seen Lorentz transformation boosts (say, along the x-direction) written as (in $c=1$ units):
$$ \left[\begin{array}{cccc}{\gamma} & {-v \gamma} & {0} & {0} \\ {-v \gamma} & {\gamma} & {0} & {0} \\ {0} & {0} & {1} & {0} \\ {0} & {0} & {0} & {1}\end{array}\right] $$
as well as (where $\varphi$ is the boost parameter per Caroll, is this related to the rapidity?)
$$\left[\begin{array}{cccc}{\cosh \varphi} & {-\sinh \varphi} & {0} & {0} \\ {-\sinh \varphi} & {\cosh \varphi} & {0} & {0} \\ {0} & {0} & {1} & {0} \\ {0} & {0} & {0} & {1}\end{array}\right]$$
What is the difference between these? If they are equivalent, how do they relate to one another? Should I think of one as a translation, one as a rotation, or something else? Under what circumstances would I use the top or the bottom? Any clarification would be much appreciated.