Compare commits

..
Author SHA1 Message Date
github-action[bot]andgithub-action[bot] e5a301927d Create Flex endpoint 2026-06-01 06:51:51 +00:00
3 changed files with 70 additions and 76 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
{
"aliases": [],
"recipes": {
"tailsfadmin/tailsfadmin-bundle": [
"1.0"
"traceway/opentelemetry-symfony": [
"2.1"
]
},
"recipe-conflicts": [],
@@ -12,9 +12,9 @@
"_links": {
"repository": "github.com/symfony/recipes-contrib",
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2047/{package_dotted}.{version}.json",
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1991/{package_dotted}.{version}.json",
"recipe_template_relative": "{package_dotted}.{version}.json",
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2047/archived/{package_dotted}/{ref}.json",
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1991/archived/{package_dotted}/{ref}.json",
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
}
}
-72
View File
@@ -1,72 +0,0 @@
{
"manifests": {
"tailsfadmin/tailsfadmin-bundle": {
"manifest": {
"bundles": {
"Tailsfadmin\\TailsfadminBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
"<bg=blue;fg=white> tailsfadmin </> admin theme installed.",
"",
" The bundle ships no CDN dependency \u2014 two steps for the assets:",
"",
" 1. Vendor the components' third-party JS libs (ApexCharts, flatpickr, Dropzone, \u2026):",
" <comment>php bin/console tailsfadmin:assets:install</comment>",
"",
" 2. Import the theme into your Tailwind entrypoint (assets/styles/app.css):",
" <comment>@import \"tailwindcss\";</comment>",
" <comment>@import \"../../vendor/tailsfadmin/tailsfadmin-bundle/assets/styles/theme.css\";</comment>",
"",
" Then compile: <comment>php bin/console tailwind:build && php bin/console asset-map:compile</comment>",
"",
" The controllers' AssetMapper path is already set (config/packages/tailsfadmin_assets.yaml).",
" Documentation: <comment>https://github.com/thibmonier/tailsfadmin#readme</comment>"
]
},
"files": {
"config/packages/tailsfadmin.yaml": {
"contents": [
"# Default configuration for the tailsfadmin admin theme (Flex recipe).",
"# Adjust the menu to your application; `label` values are translation keys (i18n)",
"# or raw labels. See the bundle README.",
"tailsfadmin:",
" default_locale: fr",
" locales: ['fr', 'en', 'ar', 'es', 'de']",
" rtl_locales: ['ar']",
" menu:",
" -",
" group: menu.groups.menu",
" items:",
" - { label: menu.dashboard, path: /, icon: dashboard }",
""
],
"executable": false
},
"config/packages/tailsfadmin_assets.yaml": {
"contents": [
"# AssetMapper path for the bundle's Stimulus controllers (Flex recipe).",
"#",
"# The bundle's prepend() does not survive the Flex config merge, so the controllers",
"# path (and the FullCalendar vendor-src shim) is declared here, on the host side.",
"# Kept in a SEPARATE file on purpose: Symfony merges framework.asset_mapper.paths",
"# from every config/packages/ file, so this adds to your asset_mapper.yaml",
"# without overwriting it.",
"framework:",
" asset_mapper:",
" paths:",
" 'vendor/tailsfadmin/tailsfadmin-bundle/assets/controllers': 'bundles/tailsfadmin'",
" 'vendor/tailsfadmin/tailsfadmin-bundle/assets/vendor-src': 'bundles/tailsfadmin-vendor'",
""
],
"executable": false
}
},
"ref": "37aa5c1b2213c3051ea88e7c0c4dc3b970302dd9"
}
}
}
+66
View File
@@ -0,0 +1,66 @@
{
"manifests": {
"traceway/opentelemetry-symfony": {
"manifest": {
"bundles": {
"Traceway\\OpenTelemetryBundle\\OpenTelemetryBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "OpenTelemetry SDK auto-initialization",
"OTEL_PHP_AUTOLOAD_ENABLED": "true",
"#2": "Service identity (shown in your backend)",
"OTEL_SERVICE_NAME": "%project_name%",
"#3": "Traces exporter: otlp | zipkin | console | none",
"OTEL_TRACES_EXPORTER": "otlp",
"#4": "Collector or backend endpoint",
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://localhost:4318",
"#5": "Protocol: http/json | http/protobuf | grpc \u2014 use http/json unless ext-protobuf is installed",
"OTEL_EXPORTER_OTLP_PROTOCOL": "http/json"
},
"post-install-output": [
"",
" * <fg=blue>OpenTelemetry Symfony Bundle</> is wired and ready to trace your app.",
"",
" * Verify your wiring:",
"",
" <comment>$ bin/console traceway:doctor</comment>",
"",
" * Override <comment>OTEL_*</> environment variables in <comment>.env.local</> to point at your backend.",
"",
" * Documentation:",
"",
" <comment>https://github.com/tracewayapp/opentelemetry-symfony-bundle</>"
]
},
"files": {
"config/packages/open_telemetry.yaml": {
"contents": [
"open_telemetry:",
" traces:",
" excluded_paths: ['/_profiler', '/_wdt', '/health']",
"",
"when@test:",
" open_telemetry:",
" traces:",
" enabled: false",
" metrics:",
" enabled: false",
" logs:",
" correlation:",
" enabled: false",
" export:",
" enabled: false",
""
],
"executable": false
}
},
"ref": "6f6a343b626a4b2dbfcbc0c8e9ae9e467e3058c7"
}
}
}