1. A boresighting apparatus for boresighting a weapon having a barrel and a plurality of components to be aligned with the barrel, the boresighting apparatus comprising: a housing configured to attach to the weapon so as to lock the boresighting apparatus in a stationary position relative to the barrel; and a holographic laser projector contained within the housing and configured to project an image, the image including a corresponding plurality of boresighting targets, each boresighting target of the plurality of boresighting targets being associated with a corresponding one of the plurality of components and having a geometric shape selected according to the component so as to permit alignment of the component with the barrel.