Skip to content

Commit 63037d3

Browse files
author
Chris Cho
authored
Merge branch '4.1' into DOCSP-35892-quick-start-docs
2 parents 07b3c8d + 7c1d0ab commit 63037d3

File tree

4 files changed

+54
-11
lines changed

4 files changed

+54
-11
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,10 @@ This package was renamed to `mongodb/laravel-mongodb` because of a transfer of o
1212
It is compatible with Laravel 10.x. For older versions of Laravel, please refer to the
1313
[old versions](https://github.com/mongodb/laravel-mongodb/tree/3.9#laravel-version-compatibility).
1414

15-
- [Installation](https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/install/)
16-
- [Eloquent Models](https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/eloquent-models/)
17-
- [Query Builder](https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/query-builder/)
18-
- [Transactions](https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/transactions/)
19-
- [User Authentication](https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/user-authentication/)
20-
- [Queues](https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/queues/)
21-
- [Upgrading](https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/upgrade/)
15+
## Documentation
16+
17+
- https://www.mongodb.com/docs/drivers/php/laravel-mongodb/
18+
- https://www.mongodb.com/docs/drivers/php/
2219

2320
## Reporting Issues
2421

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
Quick Start
4441
-----------
4542

@@ -59,6 +56,12 @@ see the following content:
5956
- :ref:`laravel-queues`
6057
- :ref:`laravel-transactions`
6158

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

0 commit comments

Comments
 (0)