Share a profile, not a PDF attachment.
Dataveli vCard is a vanilla PHP virtual business card system for teams that want clean public card URLs, branded profile design, QR sharing, analytics, and admin-side user control without framework overhead.
- Vanilla PHP, HTML, CSS, and JavaScript with PDO-backed data access
- Public card URLs like /user-cards/firstname.lastname/ with analytics tracking
- QR generation, PDF export, clipboard actions, and admin-side user management
Everything needed for a polished digital business card workflow.
From public card publishing to admin analytics, vCard is built as a full application rather than a single profile page generator.
Public card pages
Each user gets a clean URL, public profile, and branded virtual card rendering for straightforward sharing.
Card editor
Update content, social links, templates, backgrounds, color systems, and media from the central dashboard.
QR and download tools
Generate QR codes, support vCard downloads, and make contact sharing fast on both mobile and desktop.
Vanilla PHP structure with explicit files and predictable flow.
Structure worth understanding
- `dashboard.php` is the operational center for card editing, template seeding, uploads, and preview logic.
- Shared includes handle config, PDO connection, auth helpers, themes, and common layout fragments.
- Admin flows sit under `/admin/`, while public cards resolve through rewrite-driven slug URLs.
- Uploads and generated user-card directories are runtime content, not files to hand-edit.
Profiles publish to readable URLs and can also be accessed through the generated user-card directory structure.
Login regenerates session IDs and admin privileges flow from the role session value and helper functions.
Built-in templates, theme preference, and user-managed visuals shape the public-facing card experience.
From admin registration to live public card in a short pipeline.
Create user
Admins register a new user, credentials are stored with bcrypt, and the session model stays role-driven.
Edit the card
Dashboard tools manage full name, company, links, template selection, colors, media, and share-ready content.
Publish the slug
Each card resolves to a clean public URL and can be distributed through direct links, QR codes, or saved contact data.
Measure and export
Track views and clicks, then export reporting data through the analytics and export tools when needed.
Operationally simple, with explicit patterns worth respecting.
Prepared queries and sanitization
PDO prepared statements are standard, and incoming data is cleaned through helper sanitization patterns before storage or output.
Uploads and card assets
Images and overlays use controlled upload handlers, size limits, unique filenames, and basic SVG safety checks.
Operational caveats
Monolithic dashboard logic, duplicate sidebars, legacy files, and missing CSRF are the current technical debt areas to treat carefully.
Questions teams ask before they ship cards publicly.
Does it require a PHP framework?
No. The system is built with vanilla PHP, shared includes, and plain frontend assets rather than a framework runtime.
Can each user manage a branded public card?
Yes. Card data, template choice, colors, media, and social links are all stored in the card record and rendered publicly through the card view flow.
How are cards shared?
Cards can be shared via clean URLs, QR codes, and downloadable contact information, with clipboard and QR utilities supporting quick handoff.
Is there an admin layer?
Yes. The `/admin/` area provides user management, and registration is admin-only rather than self-service.
Put every contact profile behind a URL you actually want to share.
Dataveli vCard turns staff identity, QR sharing, public profile pages, and analytics into one self-hosted system.