Skip to content

Update 00-intro.md#3906

Closed
edmilsonefs wants to merge 1 commit intocomposer:masterfrom
edmilsonefs:patch-1
Closed

Update 00-intro.md#3906
edmilsonefs wants to merge 1 commit intocomposer:masterfrom
edmilsonefs:patch-1

Conversation

@edmilsonefs
Copy link
Copy Markdown

Add chmod and sudo on installation steps

Why not add chmod and sudo on installation steps?

Add chmod and sudo on installation steps
@Seldaek
Copy link
Copy Markdown
Member

Seldaek commented Apr 14, 2015

I am pretty sure this was discussed already although I can't find it right now, but sudo is not always available so I don't think it's a good idea to add it by default, as for the chmod.. it is done already by the installer.

@Seldaek Seldaek closed this Apr 14, 2015
vincentaubert pushed a commit to vincentaubert/symfony-docs that referenced this pull request Apr 25, 2015
…uire" (weaverryan)

This PR was merged into the 2.3 branch.

Discussion
----------

Updating library/bundle install docs to use "require"

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | -

As of composer/composer#3906, you can now simply install a library via:

```
php composer.phar require myname/my-lib
```

The latest version if chosen for you. I've replaced all mentions of modifying composer.json and running `composer update` with using the `require` command. I think the result is much simpler :).

Thanks!

Commits
-------

d7ccbf3 Re-adding one more version
ab2a688 [symfony#4290] Re-adding version back
a174a2b Fixing bad link
1a7c4b9 Updating library/bundle installation docs to use the new composer require (no version) functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants