Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitdb71246

Browse files
committed
How to add a new package and update .lock file
1 parent19550c8 commitdb71246

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

‎cookbook/workflow/_vendor_deps.rst.inc‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@ allows you to pin each library to an **exact** version. In fact, if a ``composer
2222
file exists, the versions inside will override those in ``composer.json``.
2323
To upgrade your libraries to new versions, run ``php composer.phar update``.
2424

25+
.. tip::
26+
27+
If you want to add a new package to your application modify ``composer.json``
28+
file:
29+
30+
.. code-block:: json
31+
32+
{
33+
"require": {
34+
...
35+
"doctrine/doctrine-fixtures-bundle": "@dev"
36+
}
37+
}
38+
39+
and then execute update command for this specific package, i.e.:
40+
41+
.. code-block:: bash
42+
43+
$ php cofmposer.phar update doctrine/doctrine-fixtures-bundle
44+
2545
To learn more about Composer, see `GetComposer.org`_:
2646

2747
It's important to realize that these vendor libraries are *not* actually part

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp