bedezign / yii2-audit

Yii2 Audit records and displays web/cli requests, database changes, php/js errors and associated data.
https://bedezign.github.io/yii2-audit/
Other
193 stars 112 forks source link

Add note about PHP extension mailparse #229

Closed schmunk42 closed 6 years ago

schmunk42 commented 6 years ago

Since 1.0.12 you need the PHP extension mailparse, which is a requirement of php-mime-mail-parser/php-mime-mail-parser.

While there's no error when installing yii2-audit it might be worth adding a note to the README or UPGRADING, since it might be hard to understand why you do not get updates after 1.0.11, when you do not have the extension compiled. I'd also suggest to release a 1.1, since this is a fairly large change in requirements.

Blizzke commented 6 years ago

I've made the extension optional. php-mime-mail-parser is now a suggestion and the view will detect if the Parser is installed. If not it will simply dump the raw mail text. If it is installed, the behavior will be as it was in the last versions.