This application discloses 6-Phenyl-imidazo[1,2-a]pyrazine derivatives according to generic Formulae I-V: wherein, variables Q, R, Y1, Y2, Y3, Y4, n, and m are defined as described herein, which inhibit Btk. The compounds disclosed herein are useful to modulate the activity of Btk and treat diseases associated with excessive Btk activity. The compounds are further useful to treat inflammatory and auto immune diseases associated with aberrant B-cell proliferation such as rheumatoid arthritis. Also disclosed are compositions comprising compounds of Formulae I-V and at least one carrier, diluent or excipient.