ConsoleTVs / Profanity

PHP library to block bad words in a string
MIT License
98 stars 46 forks source link

Laravel 10 install error #27

Closed sts-ryan-holton closed 1 year ago

sts-ryan-holton commented 1 year ago

I'm trying to upgrade a Laravel 9 project to Laravel 10. when I install this package I get:

Problem 1
    - consoletvs/profanity[1.0.0, ..., 1.0.2, 2.0.0, ..., 2.0.1] require illuminate/support ^5.4 -> found illuminate/support[v5.4.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
    - consoletvs/profanity 3.0.0 requires illuminate/support 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.* -> found illuminate/support[v5.4.0, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
    - consoletvs/profanity 3.0.1 requires illuminate/support 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*|7.* -> found illuminate/support[v5.4.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
    - consoletvs/profanity[3.0.2, ..., 3.1.0] require illuminate/support 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*|7.*|8.* -> found illuminate/support[v5.4.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - consoletvs/profanity 3.2.0 requires illuminate/support 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*|7.*|8.*|9.* -> found illuminate/support[v5.4.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.9] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires consoletvs/profanity * -> satisfiable by consoletvs/profanity[1.0.0, 1.0.1, 1.0.2, 2.0.0, 2.0.1, 3.0.0, ..., 3.2.0].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require consoletvs/profanity:*" to figure out if any version is installable, or "composer require consoletvs/profanity:^2.1" if you know which you need.

How do I resolve this?

sts-ryan-holton commented 1 year ago

I think you just need to make a new release?

ConsoleTVs commented 1 year ago

done