symfony-console-form
symfony-console-form copied to clipboard
Use Symfony forms for Console command input
Symfony 7 was released a while a back, so I think that we should create new version of this awesome library for Symfony 7.
Add symfony/intl, which should be a dependency.
Hey awesome bundle! is it possible to hide the default value?
I have the following code, it's used to edit the contact entity: ```php protected function execute(InputInterface $input, OutputInterface $output): int { $io = new SymfonyStyle($input, $output); $contacts = $this->doctrine->getRepository(Contact::class)->findAll(); if...
I found that the bundle have problems when dealing with Doctrine\Common\Collections\Collection (ArrayCollection). On local test instance I have found that the problem is here: Matthias\SymfonyConsoleForm\Bridge\Transformer\AbstractTransformer::defaultValueFrom ```php protected function defaultValueFrom(FormInterface $form)...
- Form Data may be not iterable, so need to throw an exception if data is not iterable - When working with ArrayCollection it's already iterable, so need to cast...
Add transformer for the `Symfony\Component\Form\Extension\Core\Type\FileType` form type
User Deprecated: The "Symfony\Component\HttpKernel\DependencyInjection\Extension" class is considered internal since Symfony 7.1, to be deprecated in 8.1; use Symfony\Component\DependencyInjection\Extension\Extension instead. It may change without further notice. You should not use it...