Integrate SimpleHtmlDom to Phalcon

Hi,

I want to integrate SimpleHtmlDom to Phalcon. Can you please tell me how to do it? Also I donĀ“t know to start a new phalcon project as micro framework. I read the documentation of Phalcon but it doesn't make sense to me. (about structure of folders, ...)



83.4k

It would be helpful to post what is SimpleHtmlDom, http://simplehtmldom.sourceforge.net/?

Sorry, I thought it's popular and many people know it :). Yes, it's a class to help us find the html elements, use in case of scrapping the content ... is it able to add it to my phalcon project? Thank you



83.4k
edited Aug '14

I think you can install it using composer:

{
    ...,
    require: {
        ...,
        'shark/simple_html_dom': 'dev-master'
    }
}

Like in Vokuro: