LED driver for integration in luminaire or remote installation. Dimmable with leading and trailing-edge dimmer.