File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 11
11
#include "php_wrapper.h"
12
12
#include "php_hash.h"
13
13
#include "fw_hooks.h"
14
+ #include "fw_support.h"
14
15
#include "util_logging.h"
15
16
#include "util_memory.h"
16
17
#include "util_strings.h"
17
18
19
+ #define PHP_PACKAGE_NAME "laravel/lumen-framework"
20
+
18
21
/*
19
22
* Sets the web transaction name. If strip_base == true,
20
23
* leading class path components will be stripped.
@@ -232,7 +235,12 @@ void nr_lumen_enable(TSRMLS_D) {
232
235
#endif
233
236
234
237
if (NRINI (vulnerability_management_package_detection_enabled )) {
235
- nr_txn_add_php_package (NRPRG (txn ), "laravel/lumen-framework" ,
238
+ nr_txn_add_php_package (NRPRG (txn ), PHP_PACKAGE_NAME ,
236
239
PHP_PACKAGE_VERSION_UNKNOWN );
237
240
}
241
+
242
+ nr_fw_support_add_package_supportability_metric (
243
+ NRPRG (txn ), PHP_PACKAGE_NAME , NULL ,
244
+ nr_php_packages_get_package (NRPRG (txn )-> php_packages ,
245
+ PHP_PACKAGE_NAME ));
238
246
}
You can’t perform that action at this time.
0 commit comments