Skip to content

Commit a55986d

Browse files
dunglasfabpot
authored andcommitted
Add a recipe to install API Platform
1 parent 77e841b commit a55986d

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"aliases": ["api", "api-platform"]
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
api_platform:
2+
loader_paths:
3+
annotation: ["%kernel.project_dir%/src/Entity"]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
api_platform:
2+
resource: .
3+
type: api_platform

api-platform/core/2.1/manifest.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"bundles": {
3+
"ApiPlatform\\Core\\Bridge\\Symfony\\Bundle\\ApiPlatformBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"etc/": "%ETC_DIR%/",
7+
"src/": "%SRC_DIR%/"
8+
}
9+
}

api-platform/core/2.1/src/Entity/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)