PHP code example of multividas / multividas-cards-php
1. Go to this page and download the library: Download multividas/multividas-cards-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
multividas / multividas-cards-php example snippets
// load MultividasCard
if (!class_exists('MultividasCard'))
te('multividas');
$card->setTitle('https://multividas.com/');
$card->setDescription('With Multividas.com you can share short texts and posts, leaving comments and have discussions on threads.');
// optional
$card->setImage('01hm6xtg795hj1wx3dh33ftqy9', 'https://static-assets.multividas.com/storage/factory/pages/multividas/multividas-blogging-platform-multividas-social-media-blog-multividas-posts-threads-multividas-comments-discussions-multividas-short-texts-multividas-social-blogging.png', 'image/webp');
// echo a string of <meta> elements
echo $card->asHTML();
shell
composer