How to wire and use a L6219 motor driver
If you want an idea of how to connect it there is a nice instruction for the evaluation board complete with a schematic. You will find it here.
https://static5.arrow.com/pdfs/2008/03/06/semi_ap/manual/st/ds/an6219eval.pdf If you go to: https://www.datasheetarchive.com/l6219%20microstepping-datasheet.html
you will find a lot of Links to more information. I believe this was designed originally as an automotive part. This is IC form is not a plug and play, you will need to do more research to better understand it. It looks like it could be a fun project and you could tell us exactly how to use it.  It should work fine with most 5V I/O Arduinos such as the Uno and Nano.