How to use php agent with php

Hello All,

I have installed php 8.0 and configured the php.ini file. I can see the elastic_apm is loaded onto the php extensions.

Now my question is how or where do I get a sample script so that I can send the data from the php to elasticapm observability. Is there a sample code that I can use.

I checked on internet did not find anything useful.