Since I had no luck finding any good wall holder for my shaver, I made my own in tinkercad! Just apply some double sided 3M tape at the bottom and it holds rock solid. I use it for my Philips BT7210 (7000 series) but it should at least be suitable for 5000 series too.
Other brand shavers might fit too so please if you discover some that fit, leave a comment and I'll add it here.
Philips 7000 series
Philips 5000 series (not tested)