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

How to add a new package and update .lock file#2046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 2 commits intosymfony:2.1fromgajdaw:update-2.1
Dec 19, 2012
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletionscookbook/workflow/_vendor_deps.rst.inc
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,6 +22,32 @@ allows you to pin each library to an **exact** version. In fact, if a ``composer
file exists, the versions inside will override those in ``composer.json``.
To upgrade your libraries to new versions, run ``php composer.phar update``.

.. tip::

If you want to add a new package to your application modify ``composer.json``
file:

.. code-block:: json

{
"require": {
...
"doctrine/doctrine-fixtures-bundle": "@dev"
}
}

and then execute update command for this specific package, i.e.:

.. code-block:: bash

$ php composer.phar update doctrine/doctrine-fixtures-bundle

You can combine both steps into a single command:

.. code-block:: bash

$ php composer.phar require doctrine/doctrine-fixtures-bundle:@dev

To learn more about Composer, see `GetComposer.org`_:

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

[8]ページ先頭

©2009-2025 Movatter.jp