Although you can get away with less, taking your time and using the right equipment will give you the best results with fireworks photos.
The Best Way to Take Fireworks Photos: "Using a camera with a bulb setting on a tripod is the best way to photograph fireworks
You will be able to hold the shutter open while the fireworks are exploding and then close it when you feel it is time."