awssat / tailwindo

🔌 Convert Bootstrap CSS code to Tailwind CSS code
MIT License
1.09k stars 108 forks source link

Update for PHP 8.1 and Symfonly Console 6.0? #55

Open rbruhn opened 2 years ago

rbruhn commented 2 years ago

Trying to install and receive the following

 Problem 1
    - awssat/tailwindo[3.0.0, ..., 3.0.4] require php ^7.2.0 -> your php version (8.1.5) does not satisfy that requirement.
    - awssat/tailwindo[3.0.5, ..., 3.0.6] require symfony/console ^4.0|^5.0 -> found symfony/console[v4.0.0, ..., v4.4.41, v5.0.0, ..., v5.4.8] but the package is fixed to v6.0.8 (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.
abdumu commented 2 years ago

There will be an update for the new Tailwindcss version, in the meantime, you could do a PR for the compatibility issue with Laravel 9 if you want.

abishekrsrikaanth commented 2 years ago

Is there any update for this to get it working on PHP 8+?

Here is the error I get when I try to install it globally

➜  ~ composer global require awssat/tailwindo
Changed current directory to /Users/abisheksrikaanth/.composer
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^3.0 for awssat/tailwindo
./composer.json has been updated
Running composer update awssat/tailwindo
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - awssat/tailwindo[3.0.0, ..., 3.0.4] require php ^7.2.0 -> your php version (8.1.4) does not satisfy that requirement.
    - awssat/tailwindo[3.0.5, ..., 3.0.6] require symfony/console ^4.0|^5.0 -> found symfony/console[v4.0.0, ..., v4.4.43, v5.0.0, ..., v5.4.10] but the package is fixed to v6.1.1 (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 awssat/tailwindo ^3.0 -> satisfiable by awssat/tailwindo[3.0.0, ..., 3.0.6].

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 awssat/tailwindo:*" to figure out if any version is installable, or "composer require awssat/tailwindo:^2.1" if you know which you need.
darylknight commented 2 years ago

Mm. Just discovered this. I run PHP 8.1 locally, but can't install this because it requires 7.2+. An upgrade would be great.

1day2die commented 1 year ago

i need this aswell damn lol

nielsdrost7 commented 1 year ago

So ... it looks like commit https://github.com/awssat/tailwindo/commit/f663b68747ab455535e1f3f56b7bcf8f83013723 solved this by adding PHP 8 to the composer.json commit https://github.com/awssat/tailwindo/commit/d85583d0e51dcce3eac71f7c65266ce1ae52f70f adds symfony version 6 to composer.json