PHP code example of jongotlin / swedish-name-days

1. Go to this page and download the library: Download jongotlin/swedish-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/ */

    

jongotlin / swedish-name-days example snippets


use JGI\NameDay\NameDay;
...
echo (new NameDay())->getNamesByDate(new \DateTime('2018-08-21'))[0]; 
// Jon