Skip to content
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

[Symfony UX Map] Create recipes for the package and its bridges #1329

Merged
merged 3 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions symfony/ux-google-map/2.19/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"conflict": {
"symfony/flex": "<1.20.0 || >=2.0.0,<2.3.0"
},
"env": {
"#1": "Options available at https://github.com/symfony/symfony-ux/blob/2.x/src/Map/src/Bridge/Google/README.md",
"#2": "",
"GOOGLE_MAPS_API_KEY": "# Get your API key at https://developers.google.com/maps/documentation/javascript/get-api-key",
"UX_MAP_DSN": "google://%env(GOOGLE_MAPS_API_KEY)%@default"
}
}
10 changes: 10 additions & 0 deletions symfony/ux-leaflet-map/2.19/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"conflict": {
"symfony/flex": "<1.20.0 || >=2.0.0,<2.3.0"
},
"env": {
"#1": "Options available at https://github.com/symfony/symfony-ux/blob/2.x/src/Map/src/Bridge/Leaflet/README.md",
"#2": "",
"UX_MAP_DSN": "leaflet://default"
}
}
3 changes: 3 additions & 0 deletions symfony/ux-map/2.19/config/packages/ux_map.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ux_map:
# https://symfony.com/bundles/ux-map/current/index.html#available-renderers
renderer: '%env(resolve:default::UX_MAP_DSN)%'
11 changes: 11 additions & 0 deletions symfony/ux-map/2.19/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"bundles": {
"Symfony\\UX\\Map\\UXMapBundle": ["all"]
},
"conflict": {
"symfony/flex": "<1.20.0 || >=2.0.0,<2.3.0"
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
6 changes: 6 additions & 0 deletions symfony/ux-map/2.19/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* You're near ready to use the Symfony UX Map component. You can create your first map
by using the <info>Map</info> class, but you will not be able to render it yet until you
install the Symfony UX Map Bridge you want to use, they can be found at
<comment>https://symfony.com/bundles/ux-map/current/index.html#available-renderers</>.

* <fg=blue>Read</> the documentation at <comment>https://symfony.com/bundles/ux-map/current/index.html</>
Loading