It happened near 25th Street and Snyder Avenue around 12:30 Monday morning.
The driver was not hit, but the rear window of the cab was shattered.
Police say it all started over a fare dispute.
The driver was able to identify one of the suspects, who was taken into custody a short time later.