blade docblocks suggestion #37593
Unanswered
fcolecumberri
asked this question in
Ideas
Replies: 1 comment 1 reply
-
Have a look at https://gummibeer.dev/blog/2020/phpdoc-in-blade-views/. @Gummibeer wrote a great blog post about this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been thinking about creating a package to generate documentation for blade/livewire components (maybe already exists, but I have not found one) and using the docblocks th the php files. the only problem I find is that there are Anonymous Components that may use the
@props
directive, so I was wondering if someone has thought about a blade docblock directive, I was thinking about adding an extra-
to the{{--
(similar to the extra*
in the/**
classic docblock) so using the documentation example the idea would be something like this:But I was wondering if maybe this is already done.
(Also maybe this is not the place to discuss this, if there is a better place, tell me)
Beta Was this translation helpful? Give feedback.
All reactions