PackageTrack
Sign in Get early access

influxdata/influxdb-client-php

InfluxDB (v2+) Client Library for PHP

3.9.0 3.2M downloads/mo #2292 most downloaded on Packagist influxdata/influxdb-client-php

What this package is like to depend on

Last release 2 days ago

21 Aug 2026

Release timing varies

gaps range from 4 weeks to 1.2 years

Nearly every release is documented

notes for 34 of 34 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

34 releases · first in 2020

1 release in the last 12 months

see the full history below

Release timeline

34 releases · Mar 2020 to Aug 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 34
  1. 3.9.0 21 Aug 2026
    Release notes

    Bug Fixes

    1. #170: Fix PHP 8.5 deprecations.
    2. #177: Fix invalid typehints for Point, add missing typehints for BatchItemKey

    Others

    1. #171: Bring CI pipeline up to date.
      • Remove PHP 7.2 from CI build.
      • Add PHP 8.5 to CI build.
    2. #172: Suggest dependency on ext-sockets for InfluxDB2\UdpWriter.
    3. #175: Use Docker Compose v2+ in Makefile since v1 is not maintained anymore.
    Open source →
    Release notes

    Bug Fixes

    1. #170: Fix PHP 8.5 deprecations.
    2. #177: Fix invalid typehints for Point, add missing typehints for BatchItemKey

    Others

    1. #171: Bring CI pipeline up to date.
      • Remove PHP 7.2 from CI build.
      • Add PHP 8.5 to CI build.
    2. #172: Suggest dependency on ext-sockets for InfluxDB2\UdpWriter.
    3. #175: Use Docker Compose v2+ in Makefile since v1 is not maintained anymore.
    Open source →
  2. 3.8.0 26 Jun 2025
    Release notes

    Bug Fixes

    1. #166: Fix PHP 8.4 deprecated implicit nullable arguments. PHP minimum version is still PHP 7.2.
    Open source →
    Release notes

    Bug Fixes

    1. #166: Fix PHP 8.4 deprecated implicit nullable arguments. PHP minimum version is still PHP 7.2.
    Open source →
  3. 3.7.0 21 Feb 2025
    Release notes
    1. #162: PHP 8.4 - fgetcsv() needs provide explicitly argument escape
    2. #164: Fixes deprecation warnings about implicitly nullable arguments
    Open source →
    Release notes

    Bug Fixes

    1. #162: PHP 8.4 - fgetcsv() needs provide explicitly argument escape
    2. #164: Fixes deprecation warnings about implicitly nullable arguments
    Open source →
  4. 3.6.0 24 Jun 2024
    Release notes

    Bug Fixes

    1. #155: Fixes error handling in some cases, throw ApiException instead of ErrorException about undefined property
    Open source →
    Release notes

    Bug Fixes

    1. #155: Fixes error handling in some cases, throw ApiException instead of ErrorException about undefined property
    Open source →
  5. 3.5.0 16 Apr 2024
    Release notes

    Bug Fixes

    1. #146: Try to convert non-string-tags to strings, generate a warning if a value cannot be converted
    Open source →
    Release notes

    Bug Fixes

    1. #146: Try to convert non-string-tags to strings, generate a warning if a value cannot be converted
    Open source →
  6. 3.4.0 28 Jul 2023
    Release notes

    Bug Fixes

    1. #144: Corrects closing the UdpWriter
    Open source →
    Release notes

    Bug Fixes

    1. #144: Corrects closing the UdpWriter
    Open source →
  7. 3.3.0 29 Mar 2023
    Release notes

    3.3.0 [2023-03-29]

    Others

    1. #140: fixes strings to prevent PHP 8.2 notices
    2. #136: add PHP 8.2 do CI build
    3. #135: freeze xdebug version to 3.1.6 which also supports PHP 7.2
    Open source →
    Release notes

    Others

    1. #140: fixes strings to prevent PHP 8.2 notices
    2. #136: add PHP 8.2 do CI build
    3. #135: freeze xdebug version to 3.1.6 which also supports PHP 7.2
    Open source →
  8. 3.2.0 01 Dec 2022
    Release notes

    Others

    1. #134: Update generated PingService
    Open source →
    Release notes

    Others

    1. #134: Update generated PingService
    Open source →
  9. 3.1.0 27 Oct 2022
    Release notes

    Features

    1. #131: Add FluxRecord.row which stores response data in a array
    Open source →
    Release notes

    Features

    1. #131: Add FluxRecord.row which stores response data in a array
    Open source →
  10. 3.0.0 30 Sep 2022
    Release notes

    ⚠️ This release drops strong couple to Guzzle HTTP client.
    Now you are able to use any implementation of PSR-18 compliant HTTP client - https://packagist.org/providers/psr/http-client-implementation.

    The client has to be installed together with HTTP client:

    composer require influxdata/influxdb-client-php guzzlehttp/guzzle
    

    Management API

    This release also uses a new version of InfluxDB OSS API definitions - oss.yml. The following breaking changes are in underlying API services and doesn't affect common apis such as - WriteApi, QueryApi, HealthApi, ...

    • Add ConfigService to retrieve InfluxDB's runtime configuration
    • Add DebugService to retrieve debug and performance data from runtime
    • Add MetricsService to deal with exposed prometheus metrics
    • Add RemoteConnectionsService to deal with registered remote InfluxDB connections
    • Add ResourcesService to manage InfluxDB resources
    • Add ReplicationService to manage InfluxDB replications
    • Add ReplicationService to manage InfluxDB replications
    • Update TemplatesService to deal with Stack and Template API
    • Update RestoreService to deal with new restore functions of InfluxDB

    Breaking Changes

    • Remove asynchronous operation based on GuzzleHttp\Message\FutureResponse
    • Remove DocumentService in favour of InfluxDB Community Templates. For more info see - influxdb#19300, openapi#192
    • Remove DefaultSerive:
      • PostSignin operation is moved to SigninService
      • PostSignout operation is moved to SignoutService
    Open source →
    Release notes

    :warning: This release drops strong couple to Guzzle HTTP client. Now you are able to use any implementation of PSR-18 compliant HTTP client - https://packagist.org/providers/psr/http-client-implementation.

    The client has to be installed together with HTTP client:

    composer require influxdata/influxdb-client-php guzzlehttp/guzzle
    

    Management API

    This release also uses a new version of InfluxDB OSS API definitions - oss.yml. The following breaking changes are in underlying API services and doesn't affect common apis such as - WriteApi, QueryApi, HealthApi, ...

    • Add ConfigService to retrieve InfluxDB's runtime configuration
    • Add DebugService to retrieve debug and performance data from runtime
    • Add MetricsService to deal with exposed prometheus metrics
    • Add RemoteConnectionsService to deal with registered remote InfluxDB connections
    • Add ResourcesService to manage InfluxDB resources
    • Add ReplicationService to manage InfluxDB replications
    • Add ReplicationService to manage InfluxDB replications
    • Update TemplatesService to deal with Stack and Template API
    • Update RestoreService to deal with new restore functions of InfluxDB

    Breaking Changes

    • Remove asynchronous operation based on GuzzleHttp\Message\FutureResponse
    • Remove DocumentService in favour of InfluxDB Community Templates. For more info see - influxdb#19300, openapi#192
    • Remove DefaultSerive:
      • PostSignin operation is moved to SigninService
      • PostSignout operation is moved to SignoutService

    Features

    1. #129: Use generic PSR-18 as an HTTP client
    Open source →
  11. 2.9.0 29 Jul 2022
    Release notes

    Features

    1. #125: Add logging for HTTP requests
    Open source →
  12. 2.8.0 20 May 2022
    Release notes

    Breaking Changes

    1. #121: Rename InvocableScripts to InvokableScripts
    Open source →
  13. 2.7.0 19 Apr 2022
    Release notes

    Features

    1. #119: Add InvokableScriptsApi to create, update, list, delete and invoke scripts by seamless way

    CI

    1. #118: Use new Codecov uploader for reporting code coverage
    Open source →
  14. 2.6.0 18 Feb 2022
    Release notes

    Features

    1. #114: Minimal supported version of PHP is 7.2
    2. #117: Using DateTimeInterface to be more compatible with all DateTime objects (like DateTimeImmutable) in Point

    Bug Fixes

    1. #115: Add missing PermissionResources from Cloud API definition
    Open source →
  15. 2.5.0 20 Jan 2022
    Release notes

    Features

    1. #105: Add support for latest guzzlehttp/psr7"
    2. #107: Add support for Parameterized Queries
    3. #111: Using ArrayAccess in FluxRecord

    Bug Fixes

    1. #109: PHP 8.1 deprecation warnings

    Documentation

    1. #111: Added new examples
    Open source →
  16. 2.4.0 26 Nov 2021
    Release notes

    Features

    1. #102: Use async HTTP calls to achieve better performance in a multithreading environment.

    Bug Fixes

    1. #101: Fix parsing Query response with contains new lines in field values
    Open source →
  17. 2.3.0 22 Oct 2021
    Release notes

    Features

    1. #97: Add ping() to check status of OSS and Cloud instance

    Bug Fixes

    1. #95: Fix file descriptor leaks in WriteApi
    2. #96: Fix nanosecond datetime string convertor

    CI

    1. #93: Switch the PHP 7.1 image to next-gen CircleCI's convenience images
    Open source →
  18. 2.2.0 17 Sep 2021
    Release notes

    Features

    1. #86: Add configuration option for proxy and redirects
    2. #92: Add configuration option for ipVersion [UDP Writer]

    CI

    1. #90: Switch to next-gen CircleCI's convenience images
    Open source →
  19. 2.1.0 20 Aug 2021
    Release notes

    Bug Fixes

    1. #84: Parsing infinite numbers
    Open source →
  20. 2.0.0 09 Jul 2021
    Release notes

    Breaking Changes

    This release introduces a support for new InfluxDB OSS API definitions - oss.yml. The following breaking changes are in underlying API services and doesn't affect common apis such as - WriteApi, QueryApi, BucketsApi, OrganizationsApi...

    • UsersService uses PostUser to create User
    • AuthorizationsService uses AuthorizationPostRequest to create Authorization
    • BucketsService uses PatchBucketRequest to update Bucket
    • OrganizationsService uses PostOrganizationRequest to create Organization
    • OrganizationsService uses PatchOrganizationRequest to update Organization
    • DashboardsService uses PatchDashboardRequest to update Dashboard
    • DeleteService is used to delete time series data instead of DefaultService
    • Run contains list of LogEvent in Log property
    • DBRPs contains list of DBRP in Content property
    • DBRPsService uses DBRPCreate to create DBRP
    • Inheritance structure:
      • Check <- CheckDiscriminator <- CheckBase
      • NotificationEndpoint <- NotificationEndpointDiscriminator <- NotificationEndpointBase
      • NotificationRule <- NotificationRuleDiscriminator <- NNotificationRuleBase
    • Flux AST literals extends the AST Expression object

    API

    1. #79: Use InfluxDB OSS API definitions to generated APIs

    Bug Fixes

    1. #81: Compatibility with PHP 7.1 and 7.2
    Open source →
  21. 1.13.0 04 Jun 2021
    Release notes

    Features

    1. #76: Exponential random backoff retry strategy
    Open source →
  22. 1.12.0 01 Apr 2021
    Release notes

    Features

    1. #74: Allow to change GuzzleHTTP timeout

    API

    1. #71: Update swagger to the latest version
    Open source →
  23. 1.11.0 05 Mar 2021
    Release notes

    Features

    1. #65: FluxRecord uses descriptive message for column that doesn't exists
    2. #68: Moved classes to their own file

    Documentation

    1. #65: Documentation for the client is located at GitHub: https://influxdata.github.io/influxdb-client-php/

    CI

    1. #67: Updated stable image to influxdb:latest and nightly to quay.io/influxdb/influxdb:nightly
    Open source →
  24. 1.10.0 29 Jan 2021
    Release notes

    Features

    1. #53: Ability to write via UDP protocol
    2. #57: Added possibility to disable verification of SSL certificate

    Bug Fixes

    1. #60: Compatibility with PHP 7.1 and 7.2

    CI

    1. #58: Updated default docker image to v2.0.3
    2. #60: Added PHP 8 to CI, Added code style checking to CI

    Documentation

    1. #63: Updated docs and examples about deleting data
    Open source →
  25. 1.9.0 04 Dec 2020
    Release notes

    Features

    1. #49: Added support for Guzzle 7
    2. #51: CSV parser is able to parse export from UI

    CI

    1. #54: Updated default docker image to v2.0.2

    Documentation

    1. #46: Adding info about how to get the query in JSON format
    Open source →
  26. 1.8.0 30 Oct 2020
    Release notes

    Features

    1. #44: Added generated APIs from swagger for InfluxDB 2.0 management, buckets, organizations, authorizations...
    2. #45: Improved logging message for retries
    Open source →
  27. 1.7.0 02 Oct 2020
    Release notes

    Features

    1. #38: Added jitterInterval to WriteApi

    API

    1. #39: Default port changed from 9999 -> 8086
    Open source →
  28. 1.6.0 14 Aug 2020
    Release notes

    Features

    1. #32: Added retryInterval, maxRetries and maxRetryDelay to WriteOptions in WriteApi
    2. #36: Added exponentialBase to WriteApi
    3. #34: Retry strategy now work also for connection errors
    4. #17: Implemented default tags
    5. #37: Api generator moved to influxdb-clients-apigen module

    Bug Fixes

    1. #33: Removed unused flushInterval from WriteApi
    Open source →
  29. 1.5.0 17 Jul 2020
    Release notes

    Features

    1. #29: Prevent invalid array access when no write options are passed to the WriteApi.

    Bug Fixes

    1. #27: Fixed serialization of \n, \r and \t to Line Protocol, = is valid sign for measurement name
    Open source →
  30. 1.4.0 19 Jun 2020
    Release notes

    API

    1. #27: Updated swagger to latest version
    Open source →
  31. 1.3.0 15 May 2020
    Release notes

    Bug Fixes

    1. #25: Fixes a typo in timeout Guzzle option

    Documentation

    1. #24: Improved documentation about batching
    Open source →
  32. 1.2.0 17 Apr 2020
    Release notes

    Features

    1. #14: Checks the health of a running InfluxDB instance by querying the /health

    Documentation

    1. #22: Clarify how to use a client with InfluxDB 1.8

    Bug Fixes

    1. #19: Fixed parsing QueryResponse on Windows
    Open source →
  33. 1.1.0 13 Mar 2020
    Release notes

    Bug Fixes

    1. #13: Fixed throwing of InvalidArgumentException some option is empty
    2. #13: FluxCsvParser: fixed throwing FluxQueryException with no reference, default value is 0
    3. #13: Fixed error when querying empty data, now returns null
    Open source →
  34. 1.0.0 06 Mar 2020
    Release notes

    Features

    1. #4: Use Makefile Targets Instead of scripts dir
    2. #7: Set User-Agent to influxdb-client-php/VERSION for all requests
    3. #5: Added WriteApi
    4. #8: Added QueryApi
    5. #12: Implemented query stream
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive