I am working for a exchange platform and i want to add dash , for security i am using ledger cold wallet , so i need help how i can generate new address from xpub key with php
That sounds like a question for Ledger. Dash Core does not have Ledger support. You may find something in the APIs on their Github. I doubt it is much different than getting a new Bitcoin address from the xpub.