![]() ![]() The API Platform distribution comes with a dummy entity for test purpose: api/src/Entity/Greeting.php. ![]() PHP IntelliSense for Visual Studio Code also works well, and is free and open source. You'll get auto-completion for almost everything and awesome quality analysis. Speaking about IDEs, our favorite software to develop API Platform apps is PhpStormĪnd Php Inspections plugins. Using your preferred IDE or code editor, they will be transparently taken into account in the container. It means that you can edit files of your project locally Project files are automatically shared between your local host machine and the container thanks to a pre-configured Docker ![]() Run the following command to start allĭownload the latest versions of the images: Open a terminal, and navigate to the directory containing your project skeleton. Docker Machine is not supported out of the box. Similarly, on Windows, only Docker for Windows is supported. Note: On Mac, only Docker for Mac is supported. If you do not already have Docker on your computer, it's the right time to install it. tar.gz archive.ĪPI Platform is shipped with a Docker definition that makes it easy to get a containerized developmentĮnvironment up and running. zip archive, as it may cause potential permission issues, prefer the. You will add your own code and configuration inside this skeleton. Start by downloading the API Platform distribution, or generate a GitHub repository from the template we provide. Installing the Framework Using the API Platform Distribution (Recommended) (plugins) and benefits from the numerous extensions points provided by this rock-solid foundation (events, Dependency Injection Container.).Īdding features like custom or service-oriented API endpoints, JWT or OAuth authentication, HTTP caching, mail sending orĪsynchronous jobs to your APIs is straightforward. It is compatible with most Symfony bundles One more thing, before we start: as the API Platform distribution includes the Symfony framework, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |