Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>venomNew to Visual Studio Code? Get it now.
venom

venom

Papa Mamadou Ndiaye

|
218 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Venom for Visual Studio Code (Powered by Pamodzou)

All Apis are not created equal. At least that's what I think. This extension is built with love for all the ApiPlatform Php Community and provides a lightweight development tool to generate fully compliant api-platform entities from a class diagram ==> API. Since Visual Paradygm is one of the best uml tools out there wrt the UML 2.5 specification, we only support for now VP class diagrams. Once you build a great class diagram, you can export it to xml from your VP export menu. Then follow these easy steps to generate your api.

Requirements

Api-Platform (https://github.com/api-platform/api-platform)
Visual Studio code (https://code.visualstudio.com/)
Visual Paradygm (https://www.visual-paradigm.com)

With great powers come great responsibilities

You just have to follow five simple rules 1- Each class much have an identifier
2- Each attribute in a class must have a type
3- Bidirectionnal rather than unidirectionnal relationships
4- Avoid multiple inheritances (this is a Php rule anyway)
5- Each diagram must have a package name

Easy steps to make your api in one click (from explorer)

1°) Open a workspace containing your apiplatform project
2°) Export your visual paradygm class diagramm into your apiplatform project folder (/api) in xml format
3°) Do a right click on an xml file and chose venom option from the contextual menu
4°) Wait five seconds...Your code is generated in /Generated
5°) Paste the generated code where it's supposed to be
6°) Migrate entities to Db and you're ready to go

Easy steps to make your api in one click (from file)

1°) Open a workspace containing your apiplatform project
2°) Export your visual paradygm class diagramm into your apiplatform project folder (/api) in xml format
3°) open the project.xml file (default name of your diagramm export) and select all the text
4°) Do a right click on the selected xml and chose venom option from the contextual menu
5°) Wait five seconds...Your code is generated in /Generated
6°) Paste the generated code where it's supposed to be
7°) Migrate entities to Db and you're ready to go

What it looks like

A complete API documentation and endpoints ready for test in just one click. ApiPlatform swagger

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft