Issue with Laravel 9
I'm trying to install this package with Laravel 9.
is PHP 8 not supported?
Your requirements could not be resolved to an installable set of packages.
Problem 1
- mews/purifier[3.3.0, ..., 3.3.2] require php ^7.2 -> your php version (8.1.5) does not satisfy that requirement.
- mews/purifier[3.3.3, ..., 3.3.6] require illuminate/config ^5.8|^6.0|^7.0|^8.0 -> found illuminate/config[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
- mews/purifier 3.3.7 requires ezyang/htmlpurifier 4.13.* -> found ezyang/htmlpurifier[v4.13.0] but the package is fixed to v4.14.0 (lock
file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires mews/purifier ^3.3 -> satisfiable by mews/purifier[3.3.0, ..., 3.3.7].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require mews/purifier:*" to figure out if any version is installable, or "composer require mews/purifier:^2.1" if you know which you need.
PHP 8 is not supported?
i have the same issue as you, when the package says its is laravel 9 supported you would think it would support php 8
same issue. Any known fix for this?
I was able to install the latest release (--with-all-dependencies)
composer require mews/purifier 3.3.8 -W