Skip to content

Commit

Permalink
Add ext-mbstring to list of requires
Browse files Browse the repository at this point in the history
The mbstring extension isn't enabled by default in PHP, so this dependency should be declared so that "composer install" will display an appropriate message, avoiding a runtime failure (and when it eventually gets extension install capabilities via Pickle or similar, it could even enable mbstring automatically).
  • Loading branch information
dzuelke committed Sep 2, 2014
1 parent a7dfed0 commit cbb896c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"homepage": "http://simplehtmldom.sourceforge.net/",
"type": "library",
"version": "1.5",
"require":{
"php":">=5.2.4"
"require": {
"php": ">=5.2.4",
"ext-mbstring": "*"
},
"authors": [
{
Expand All @@ -16,7 +17,7 @@
}
],
"autoload": {
"classmap":["simple_html_dom.php"],
"classmap": ["simple_html_dom.php"],
"files": ["simple_html_dom.php"]
}
}
}

0 comments on commit cbb896c

Please sign in to comment.