PHP code example of yrizos / greek-name-days
1. Go to this page and download the library: Download yrizos/greek-name-days 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/ */
yrizos / greek-name-days example snippets
use GreekNameDays\GreekNameDays;
$username = "<your username>";
$password = "<your password>";
$language = "gr";
$gnd = new GreekNameDays($username, $password, $language);
$resultsByDate = $gnd->getByDate(2014, 7, 1);
$resultsByMonth = $gnd->getByMonth(2014, 7);
$resultsByInitial = $gnd->getByInitial("i");
$resultsByName = $gnd->getByName("ioannis");