-
-
Notifications
You must be signed in to change notification settings - Fork 496
Add a recipe for API Platform Admin #503
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(same route prefix as easyadmin but both won't be installed together I suppose)
This PR makes it easy to use API Platform Admin in a traditional Symfony app (an app using Twig).
The recipe installs Webpack Encore and API Platform (using their respective packs) and generate a Twig template, a route and the appropriate code to load the admin in a standard Symfony page.
It works in a different way than in the "official" distribution of API Platform: