icetee/nameday
Composer 安装命令:
composer require icetee/nameday
包简介
Name day(s) - It consists of celebrating a day of the year that is associated with one's given name.
README 文档
README
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"]
统计信息
- 总下载量: 581
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-28