One-stop shop for controlling DC, BLDC, and stepper motors: MotorController.h (installable via the Arduino IDE's Libraries Manager)
I plan on some point adding things like microstepping and other features in the future, but for now the library has good, basic functionality for all motor types listed above.