mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Add a recipe to install API Platform
This commit is contained in:
committed by
Fabien Potencier
parent
77e841b4c0
commit
a55986d90b
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"aliases": ["api", "api-platform"]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
api_platform:
|
||||
loader_paths:
|
||||
annotation: ["%kernel.project_dir%/src/Entity"]
|
||||
@@ -0,0 +1,3 @@
|
||||
api_platform:
|
||||
resource: .
|
||||
type: api_platform
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"bundles": {
|
||||
"ApiPlatform\\Core\\Bridge\\Symfony\\Bundle\\ApiPlatformBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"etc/": "%ETC_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user