Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
42e24f0f
Commit
42e24f0f
authored
Jun 28, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved references to Composer packages in docs
parent
3a807614
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
extend-using-composer.md
docs/guide/extend-using-composer.md
+3
-3
No files found.
docs/guide/extend-using-composer.md
View file @
42e24f0f
...
...
@@ -65,12 +65,12 @@ Adding more packages to your project
To add two new packages to your project run the follwing command:
```
composer.phar require "
michelf/php-markdown:>=1.3" "ezyang/htmlpurifier:>4.5.0
"
composer.phar require "
cebe/indent:>=1.0.2" "cebe/yii2-gravatar:>1.1
"
```
This will resolve the dependencies and then update your
`composer.json`
file.
The above example says that a version greater than or equal to 1.
3 of Michaelf's PHP-Markdown package is required
and version
4.5.0 or greater of Ezyang's HTMLPurifier
.
The above example says that a version greater than or equal to 1.
0.3 of indent converter package
and version
1.1 or greater of gravatar extension are required
.
For details of this syntax, see the
[
official Composer documentation
](
https://getcomposer.org/doc/01-basic-usage.md#package-versions
)
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment