Skip to content

Commit 7c1d0ab

Browse files
author
Chris Cho
authored
Merge pull request #2714 from ccho-mongodb/DOCSP-35932-compatibility
DOCSP-35932: compatibility page
2 parents d422b88 + 27f88e0 commit 7c1d0ab

File tree

3 files changed

+50
-4
lines changed

3 files changed

+50
-4
lines changed

docs/compatibility.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.. _laravel-compatibility:
2+
3+
=============
4+
Compatibility
5+
=============
6+
7+
.. facet::
8+
:name: genre
9+
:values: reference
10+
11+
.. contents:: On this page
12+
:local:
13+
:backlinks: none
14+
:depth: 1
15+
:class: singlecol
16+
17+
Laravel Compatibility
18+
---------------------
19+
20+
The following compatibility table specifies the versions of Laravel and
21+
{+odm-short+} that you can use together.
22+
23+
.. include:: /includes/framework-compatibility-laravel.rst
24+
25+
To find compatibility information for unmaintained versions of {+odm-short+},
26+
see `Laravel Version Compatibility <https://github.com/mongodb/laravel-mongodb/blob/3.9/README.md#installation>`__
27+
on GitHub.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.. list-table::
2+
:header-rows: 1
3+
:stub-columns: 1
4+
5+
* - {+odm-short+} Version
6+
- Laravel 10.x
7+
- Laravel 9.x
8+
9+
* - 4.1
10+
- ✓
11+
-
12+
13+
* - 4.0
14+
- ✓
15+
-
16+

docs/index.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Laravel MongoDB
1919
/user-authentication
2020
/queues
2121
/transactions
22+
/compatibility
2223
/upgrade
2324

2425
Introduction
@@ -36,10 +37,6 @@ Laravel Eloquent and Query Builder syntax to work with your MongoDB data.
3637
maintained by MongoDB, Inc. and is compatible with Laravel 10.x and
3738
later.
3839

39-
To find versions of the package compatible with older versions of Laravel,
40-
see `Laravel Version Compatibility <https://github.com/mongodb/laravel-mongodb/blob/3.9/README.md#installation>`__
41-
on GitHub.
42-
4340
Getting Started
4441
---------------
4542

@@ -58,6 +55,12 @@ see the following content:
5855
- :ref:`laravel-queues`
5956
- :ref:`laravel-transactions`
6057

58+
Compatibility
59+
-------------
60+
61+
To learn more about which versions of the {+odm-long+} and Laravel are
62+
compatible, see the :ref:`laravel-compatibility` section.
63+
6164
Upgrade Versions
6265
----------------
6366

0 commit comments

Comments
 (0)