PHP code example of ibnnajjaar / graphify
1. Go to this page and download the library: Download ibnnajjaar/graphify 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/ */
ibnnajjaar / graphify example snippets
$yourModel->generateGraphify();
$yourModel->graphify_image;
$yourModel->og_image_url;
// Or if you have a custom image field
$yourModel->your_custom_og_image_url;