Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Symfony form information #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yceruto opened this issue Feb 7, 2018 · 2 comments
Closed

Symfony form information #4

yceruto opened this issue Feb 7, 2018 · 2 comments

Comments

@yceruto
Copy link

yceruto commented Feb 7, 2018

Hi Tobias,

Congratulations for this great initiative, I really like the practical effect it provides, thanks.

Some time ago I've been thinking about doing something like that, but showing the internal information of Symfony forms. Basically keep this information up to date as you have done here with form's themes:

Also, showing some lost information like type extensions availables, type guessers
and the field options that aren't shown in the doc.

For example, you could use the debug:form --format=json command to get general information,debug:form ChoiceType --format=json to get the predefined options, parent types, type extensions, etc. and debug:form ChoiceType data_class --format=json to get the predefined information of such option and so on. It would be nice to even be able to select other versions of Symfony or at least the LTS and current one.

This command is available since 3.4 but is possible adapt it to oldest Symfony versions. See implementation details:

Let me know if it is of your interest, I could help you implement the idea.

Greetings.

@Nyholm
Copy link
Owner

Nyholm commented Feb 9, 2018

Thank you.

Great suggestions. I will continue to work on this.
Thanks!

@yceruto
Copy link
Author

yceruto commented Feb 10, 2018

Well, I can't do it automatically like you :(, but at least I can generate this static information for each release.

See https://phptopup.github.io/symfony-form/index.html !! any feedback is welcomed! ;)

@yceruto yceruto closed this as completed Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants