
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
strapi-plugin-qr-code
Advanced tools
A Strapi plugin to display generated QR Codes on the admin panel's ContentTypes.
A plugin for Strapi Headless CMS that provides an easy way to show QR Codes in Strapi entities.
To configure the QR Code plugin, add your configuration to the plugin settings. The configuration consist of an array of contentTypes with their own computeValue function:
type Config = {
contentTypes: Array<{
uid: UID.ContentType
populate?: Array<string> | '*'
computeValue: (
uid: UID.ContentType,
status: 'draft' | 'published',
document: Modules.Documents.Document<UID.ContentType>
): string | Promise<string>;
}>,
};
This configuration allows you to define a computeValue for content-types associated. The plugin try to fetch the concerned entity and pass it to computeValue function in document parameters. The string output of the function is what is used to generate the QR Code.
// config/plugins.ts
import type { Config as QRCodeConfig } from 'strapi-plugin-qr-code/dist/server/src/config'
export default () => ({
'qr-code': {
enabled: true,
config: {
contentTypes: [
{
uid: 'api::content.content',
computeValue: (uid, status, document) => {
return `/${uid.split('.')[1]}?status=${status}&documentId=${document.documentId}`
},
},
{
uid: 'api::category.category',
computeValue: (uid, status, document) => {
return `My category is: ${document.name} - status: ${status} - edited: ${document.updatedDate}`
},
},
],
} satisfies QRCodeConfig,
}
})
0.4.3 (2025-07-13)
FAQs
A Strapi plugin to display generated QR Codes on the admin panel's ContentTypes.
We found that strapi-plugin-qr-code demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.