I just started using HTMLPurifier within Yii and on the page it states you should:
[i]
Note that you should add ezyang/htmlpurifier to your composer.json require section and run composer install before using it.[/i]
But it seemed to work just fine without running composer install again - is there any particular reason it needs to be run?