File tree Expand file tree Collapse file tree 3 files changed +30
-6
lines changed Expand file tree Collapse file tree 3 files changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,33 @@ Connect to MongoDB
14
14
.. procedure::
15
15
:style: connected
16
16
17
- .. step:: Create your Laravel Application
18
-
19
- .. step:: Assign the Connection String
17
+ .. step:: Set the Connection String in the Database Configuration
20
18
21
19
Replace the ``<connection string>`` placeholder with the connection
22
20
string that you copied from the :ref:`laravel-quick-start-connection-string`
23
21
step of this guide.
24
22
25
- .. step:: Run your Laravel Application
23
+ .. step:: Create a Sample Model, View, and Controller
26
24
27
25
TODO
28
26
27
+ .. step:: Create a Sample API Controller to Store Data
28
+
29
+ TODO:
30
+
31
+ .. step:: Start your Laravel Application
32
+
33
+ TODO
34
+
35
+ .. step:: Write Sample Data to the API Controller
36
+
37
+ TODO
38
+
39
+ .. step:: Render Database Data in a View
40
+
41
+ TODO
42
+
43
+
29
44
After you complete these steps, you have a Laravel web application that
30
45
uses the {+odm-long+} to connect to your MongoDB deployment, run a query on
31
46
the sample data, and render a retrieved result.
Original file line number Diff line number Diff line change 2
2
3
3
====================
4
4
Download and Install
5
- =====================
5
+ ====================
6
6
7
7
.. facet::
8
8
:name: genre
@@ -19,15 +19,24 @@ This guide assumes that you have the following software installed:
19
19
- `PHP <https://www.php.net/downloads>`__
20
20
- `Composer <https://getcomposer.org/>`__
21
21
22
+ Complete the following steps to download and install the components you
23
+ need to create a Laravel web application and set up {+odm-short+}.
24
+
22
25
.. procedure::
23
26
:style: connected
24
27
25
28
.. step:: Install the MongoDB PHP Driver
26
29
30
+ TODO
31
+
27
32
.. step:: Install Laravel
28
33
34
+ TODO
35
+
29
36
.. step:: Add the {+odm-short+} Dependency
30
37
38
+ TODO
39
+
31
40
.. include:: /includes/quick-start/troubleshoot.rst
32
41
33
42
.. button:: Create a Deployment
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Next Steps
14
14
Congratulations on completing the quick start tutorial!
15
15
16
16
In this tutorial, you created a Laravel web application that performs
17
- read and write database operations on a MongoDB deployment hostted on
17
+ read and write database operations on a MongoDB deployment hosted on
18
18
MongoDB Atlas.
19
19
20
20
Learn more about {+odm-short+} features from the following resources:
You can’t perform that action at this time.
0 commit comments