Piwik track code on php page

Dear all,
I’m new here.
I have just install piwik on my development server because I can’t go outside the network.
I want to track the page visited in my website, but all the pages are in php…how can I do for put the code?
Where I can put it?