Download the PHP package rumenx/drupal_vcard without Composer
On this page you can find all versions of the php package rumenx/drupal_vcard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rumenx/drupal_vcard
More information about rumenx/drupal_vcard
Files in rumenx/drupal_vcard
Package drupal_vcard
Short Description Drupal 11+ module to generate vCards.
License MIT
Informations about the package drupal_vcard
Drupal vCard Generator
Features
- Provides a service for generating vCards in Drupal.
- 100% PHPUnit unit test coverage.
- Composer-managed dependencies.
Installation
Drupal.org Installation (Recommended)
You can install the module from Drupal.org either manually or using Composer:
Option 1: Composer (Recommended)
Enable the module in Drupal admin or via Drush:
Option 2: Manual Installation
- Download from Drupal.org:
- https://www.drupal.org/project/vcard_generator
- Git:
git clone https://git.drupalcode.org/project/vcard_generator.git
- Copy the
vcard_generator
folder into your Drupal site'smodules/custom/
directory. - Enable the module:
Composer (Packagist)
Enable the module in Drupal admin or via Drush:
Manual Installation (GitHub/Packagist)
-
Download or clone this repository:
- Download the ZIP from GitHub and extract it, or run:
-
Copy the
drupal_vcard_generator
folder into your Drupal site'smodules/custom/
directory. - Enable the module in Drupal admin or via Drush:
Usage Example
Advanced Usage Example
Supported Fields
first_name
,last_name
: Person's nameemail
: Email addressphone
: Phone numberaddress
: Array withstreet
,city
,state
,zip
,country
organization
: Organization namedepartment
: Department/unit (optional)title
: Job titleurl
: Website
Example Output
Testing
Run lint and unit tests with:
Note on Namespaces and Composer Package
- Drupal.org:
- Composer package:
drupal/vcard_generator
- Namespace:
Drupal\vcard_generator
- Service name:
vcard_generator.generator
- Info/Services YAML:
vcard_generator.info.yml
,vcard_generator.services.yml
- Composer package:
- Packagist/GitHub:
- Composer package:
rumenx/drupal_vcard_generator
- Namespace:
Drupal\drupal_vcard_generator
- Service name:
drupal_vcard_generator.generator
- Info/Services YAML:
drupal_vcard_generator.info.yml
,drupal_vcard_generator.services.yml
- Composer package:
If you need to switch between the two, update the namespace in your PHP files and the composer.json
autoload section accordingly. The codebase and service names must match the installation method.
License
MIT License