I'm a total newbie with Bitcoin so forgive me if I'm asking stupid things. All help needed!
My plan is to implement a way to pay with Bitcoins in my webshop.
My problem is to generate bitcoin-adresses with PHP. How should I do that?
I already managed to use addrgen.php (from https://github.com/prusnak/addrgen) but that needs a MPK in 64base. When I use Electrum on Bitcoin Core I do not have an 64base MPK, I have something else

Any ideas how to:
a) convert Electrum or Bitcoin Core private keys to 64base so that I can use this addrgen.php?
b) some other PHP sample that I can modify to produce limitless Bitcoin-adresses?
c) some other idea?
All hints and ideas are welcome!
BIG thanks in advance!