Answer to you question is very simple. Sharia was much easier to implement in Prophet’s (SAW) times than now. Back then Muslims were not divided into sects and groups, and were more or less were homogeneous and agreed on basic principles of Sharia. That is not the case anymore.