How to integrate PHP8.1 code to link QB desktop API

I have a small custom CRM we want some PHP 8.1.24 code that will link to “Quickbooks Desktop Pro Plus 2023 64bit”.

I open up a customer in the CRM it will have a many variables like: Company, Firstname, Lastname, StreetAddress, City, Zip, State, Phonenumber
I want to use those details to find a match to a customer or vendor in QB then return what details the customer/vendor profile has back to the CRM. Then in PHP the code to compare and if a detail doesn’t match or if they are empty the code will then tell QB to update those details.

I am familiar with PHP but on the other hands not good at linking QB desktop API.
Please let me know the detailed steps how to implement the linking API with PHP.

I am embarrassing not to be familiar with the steps how to start.
So I need collaborators’ help.
Thank you.