It has the instructions on that install page for installing with Composer. Simply open up your composer.json and add the repositories key.
"repositories": [
{
"type": "pear",
"url": "http://pear.horde.org"
}
]
Then, adjust your requires to include the library.
"pear-pear.horde.org/Horde_Imap_Client": "*"
Finally run composer update to download and install the library and its dependencies. It should then be autoloaded automatically. Just following the documentation for that library.
Thank you very much, It worked, actually I wasn't adding "pear-pear.horde.org/Horde_Imap_Client": "" to required, I just copied entire { "repositories": [ { "type": "pear", "url": "http://pear.horde.org" } ], "require": { "pear-pear.horde.org/Horde_Imap_Client": "" } }
and updated composer and it was giving me error.
Thank You
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.