Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ba9995a

Browse filesBrowse files
committed
minor #9322 Update dbal.rst (stormoPL)
This PR was squashed before being merged into the 4.0 branch (closes #9322). Discussion ---------- Update dbal.rst Current documentation steps do not work for fresh Symfony 4 instance. Doctrine.yml file does not exist and DBAL installation from Composer does not get recognized or autowired. DoctrineBundle is a way to use both Doctrine ORM on the top of Doctrine DBAL or just pure DBAL. Commits ------- 60d14ab Update dbal.rst
2 parents 4dc6dba + 60d14ab commit ba9995a
Copy full SHA for ba9995a

File tree

Expand file treeCollapse file tree

1 file changed

+7
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-1
lines changed

‎doctrine/dbal.rst

Copy file name to clipboardExpand all lines: doctrine/dbal.rst
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ makes it easy to execute queries and perform other database actions.
2121
Read the official Doctrine `DBAL Documentation`_ to learn all the details
2222
and capabilities of Doctrine's DBAL library.
2323

24-
To get started, configure the ``DATABASE_URL`` environment variable in ``.env``:
24+
First, install the Doctrine bundle:
25+
26+
.. code-block:: terminal
27+
28+
composer require doctrine/doctrine-bundle
29+
30+
Then configure the ``DATABASE_URL`` environment variable in ``.env``:
2531

2632
.. code-block:: text
2733

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.