CodeWithKyrian / transformers-php

Transformers PHP is a toolkit for PHP developers to add machine learning magic to their projects easily.
https://codewithkyrian.github.io/transformers-php/
Apache License 2.0
530 stars 28 forks source link

Symfony Console requirements #6

Closed roberto-butti closed 6 months ago

roberto-butti commented 6 months ago

System Info

Mac os x , new empty project, installing the package with:

composer require codewithkyrian/transformers

PHP Version

8.3.3

Environment/Platform

Description

On as fresh install, the symfony/console is missing

composer require symfony/console

Reproduction

mkdir transformers-php
cd transformers-php
composer require codewithkyrian/transformers
./vendor/bin/transformers install

you will have the error:

Fatal error: Uncaught Error: Class "Symfony\Component\Console\Application" not found

I fixed installing manually the symfony/console

composer require symfony/console