1. Go to this page and download the library: Download arifszn/blog-client 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/ */
arifszn / blog-client example snippets
use Arifszn\Blog\Client;
$client = new Client();
$result = $client->getDevPost('yourusername');
use Arifszn\Blog\Client;
$client = new Client();
$result = $client->getMediumPost('yourusername');
array:2 [▼
0 => array:6 [▼
"title" => "Why Enhancing Virtual Reality is Important",
"description" => "Virtual reality is seen as a “fun” technology to some without much...",
"thumbnail" => "https://cdn-images-1.medium.com/max/2600/0*kz30LOdXT8CyOymh",
"link" => "https://medium.com/p/ac19dd21c728",
"categories" => array:5 [▼
"vr",
"technology",
"virtual-reality",
"engineering",
"artificial-intelligence"
],
"publishedAt" => "2020-11-08 18:43:34"
],
1 => array:6 [▼
"title" => "How to Get Started With Data Science: a Brief Guide",
"description" => "You’ve heard about data science and machine learning, and you want to get started. Maybe you hear...",
"thumbnail" => "https://cdn-images-1.medium.com/max/2600/0*Ah0vLtsvxqUvRWuS",
"link" => "https://medium.com/p/88ec244f2fee",
"categories" => array:3 [▼
"beginner-coding",
"data-science-training",
"machine-learning-course"
],
"publishedAt" => "2020-26-07 22:55:26"
]
]
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.