1. A boresighting apparatus for boresighting a weapon having a barrel and at least one component 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; a holographic laser projector contained within the housing and configured to project an image, the image including at least one boresighting target, each boresighting target of the at least one boresighting target having a geometric shape selected according to a component of the at least one component so as to permit alignment of the component with the barrel.