Here are two good references that explain the algorithmic implementation:
J.C. Simo, Numerical analysis and simulation of plasticity, in Handbook of Numerical Analysis Vol VI, Edited by P.G. Ciarlet and J.L. Lions, 1998.
J.C. Simo, Algorithms for static and dynamic multiplicative plasticity that preserves the classical return mapping schemes of the infinitesimal theory, Comp. Meth. Appl. Mech. Engng., v99, 61-112, (1992).