Simple-html-dom is listed in packagist.org how it should be included in symfony2?
Simple-html-dom is listed in packagist.org how it should be included in symfony2?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have Symfony2.1 you can use Composer to manage dependencies/packages, if you have Symfony2.0 you should tweak the Symfony Standard Edition to use Composer, more information in this answer.
Method 1
1. Add the package to
composer.jsonAdd the following in the
src/composer.jsonfile:2. Update (install) package
Run the following command:
3. Use it where you want
Method 2
1. Use the
composer requireshortcut commandRun the following command:
2. Use it where you want