diff --git a/source/includes/language-compatibility-table-php.rst b/source/includes/language-compatibility-table-php.rst new file mode 100644 index 00000000..2c6432b4 --- /dev/null +++ b/source/includes/language-compatibility-table-php.rst @@ -0,0 +1,64 @@ +.. list-table:: + :header-rows: 1 + :stub-columns: 1 + :class: compatibility-large + + * - PHP Driver Versions + - PHP 8.4 + - PHP 8.3 + - PHP 8.2 + - PHP 8.1 + - PHP 8.0 + - PHP 7.4 + - PHP 7.3 + - PHP 7.2 + + * - ext + lib 1.21 to 2.0 + - ✓ + - ✓ + - ✓ + - ✓ + - + - + - + - + + * - ext + lib 1.20 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - + + * - ext + lib 1.17 to 1.19 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - + + * - ext + lib 1.16 + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + + * - ext + lib 1.15 + - + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ diff --git a/source/includes/mongodb-compatibility-table-php.rst b/source/includes/mongodb-compatibility-table-php.rst new file mode 100644 index 00000000..cdcba413 --- /dev/null +++ b/source/includes/mongodb-compatibility-table-php.rst @@ -0,0 +1,56 @@ +.. list-table:: + :header-rows: 1 + :stub-columns: 1 + :class: compatibility-large + + * - PHP Driver Versions + - MongoDB 8.0 + - MongoDB 7.0 + - MongoDB 6.0 + - MongoDB 5.0 + - MongoDB 4.4 + - MongoDB 4.2 + - MongoDB 4.0 + - MongoDB 3.6 + + * - ext + lib 1.21 to 2.0 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ [#deprecation-note]_ + - + + * - ext + lib 1.20 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + + * - ext + lib 1.16 to 1.19 + - ⊛ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + + * - ext + lib 1.15 + - ⊛ + - ⊛ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + +.. [#deprecation-note] Support for this MongoDB version is deprecated and will be removed in a future release. diff --git a/source/php-drivers.txt b/source/php-drivers.txt index 0351997e..f9cd5fd4 100644 --- a/source/php-drivers.txt +++ b/source/php-drivers.txt @@ -179,7 +179,7 @@ The first column lists the driver version. .. sharedinclude:: dbx/lifecycle-schedule-callout.rst -.. sharedinclude:: dbx/mongodb-compatibility-table-php.rst +.. include:: /includes/mongodb-compatibility-table-php.rst Language Compatibility ~~~~~~~~~~~~~~~~~~~~~~ @@ -189,7 +189,7 @@ of the PHP driver for use with a specific version of PHP. The first column lists the driver versions. -.. sharedinclude:: dbx/language-compatibility-table-php.rst +.. include:: /includes/language-compatibility-table-php.rst .. include:: /includes/about-driver-compatibility.rst