In this paper, we investigate the Hawking radiation process by using the quantum tunneling phenomenon of massive spin-1 (W-bosons) and spin-0 particles by the black hole in 2 + 1 dimensions surrounded by quintessence as well as charged BTZ-like magnetic black hole. First of all, by using Hamilton–Jacobi ansatz and WKB approximation to the field equation of massive vector particles, we get the required tunneling rate of emitted particles and obtain the corresponding Hawking temperature Th for the black hole (BH) surrounded by quintessence. In order to study the quantum gravity effects, we utilize the generalized Proca and Klein–Gordan equations incorporating the generalized uncertainty principle (GUP) for these BHs and recover their modified tunneling probability as well as accompanying quantum corrected temperatures T′h.