sukohi / japanese-national-day
There is no license information available for the latest version (dev-master) of this package.
dev-master
2015-08-11 02:11 UTC
Requires
- php: >=5.4.0
- illuminate/support: 4.2.*
This package is not auto-updated.
Last update: 2024-11-09 17:40:27 UTC
README
PHP class for Label to manage Japanese national days.
Note: This package was integrated into Wafu.
Installation&setting for Laravel
After installation using composer, add the followings to the array in app/config/app.php
'providers' => array(
...Others...,
'Sukohi\JapaneseNationalDay\JapaneseNationalDayServiceProvider',
)
Also
'aliases' => array(
...Others...,
'JapaneseNationalDay' => 'Sukohi\JapaneseNationalDay\Facades\JapaneseNationalDay',
)
Usage
Get National days
$national_days = JapaneseNationalDay::get($year = 2014); // $year is skippable.
dd($national_days);
Remove cache
JapaneseNationalDay::removeCache($year = 2014); // $year is skippable.
License
This package is licensed under the MIT License.
Copyright 2015 Sukohi Kuhoh