Using UDP with PHP client

Hello there, i’am new to influxDB and the community,

I want to collect metrics using the php client of influxDB, but i found some incoherence in the documentation, with UDP databases are set in the config file, but in the php client, they explicitly specify the database name to get from the client.

Is the php client outdated ? is there any alternatives if so ?

Thank you in advance