Skip to content

Commit 0662535

Browse files
committed
feature #21 Add a recipe to install API Platform (dunglas)
This PR was squashed before being merged into the master branch (closes #21). Discussion ---------- Add a recipe to install API Platform But I've no idea of how to test it πŸ˜… Commits ------- a55986d Add a recipe to install API Platform
2 parents 5d1b645 + a55986d commit 0662535

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
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)