This is the best resource for PlantUML details.
When you add the PlantUML plugin to PHPStorm, it creates a number of UML* template files that are examples that you can edit.
PlantUML can be generated by programs. E.g. php-plantumlwriter) It's even simple enough that we can write our own programs to generate PlantUML for our own use.