I have install domPDF with composer in my project which is in localhost; I have the same project in server; But I have to install domPDf also in the server project, and have to do it manually. can any one give me the procedure?
DomPDF is just a package for PHP. You don't need anything extra on the server as far as I know! All the requirements are normally by default installed on your server. If not you need to be more specific on what you're missing!
Normally you use git to transfer your project from local to your server. This way you can make sure you have the same project with the same dependencies on both.
I'm not really sure if I fully understand your question though.
@bobbybouwmann , actutally I updated my project on server before installed dompdf in my local project ; I don't want to re update the project on server, just want to install the pdf packages
You can just run composer require dompdf/dompdf if you want the package right? That's the whole idea behind composer and how you can manage your project with third-party dependencies ;)