Skip to content
/ nameday Public

Name day(s) - It consists of celebrating a day of the year that is associated with one's given name.

License

Notifications You must be signed in to change notification settings

icetee/nameday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name day

Build Status

A name day is a tradition in some countries in Europe, Latin America, and Roman Catholic and Eastern Orthodox countries in general. It consists of celebrating a day of the year that is associated with one's given name. The celebration is similar to a birthday.

Load with composer

The simplest solution is to call the package when using a composer. This cli command, install the package.

composer require icetee/nameday

Usage

Create instance:

$nameday = new \Icetee\Nameday\Nameday(DateTime $date = null, $lang = null);

Get current name days:

$names = nameday->getNameDay(int $limit = 0);

Dump of $names (it is always an array):

["Tamás", "Tamara"]

About

Name day(s) - It consists of celebrating a day of the year that is associated with one's given name.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages