Downloads
Stars
Version
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
You can install the package via composer:
composer require chinleung/laravel-weekday
Weekday::name(0); // Sunday
Weekday::name(1, 'fr'); // Lundi
Weekday::value('Sunday'); // 0
Weekday::value('Dimanche', 'fr'); // 0
Weekday::names('en');
Weekday::name(0)->to('fr')->getName(); // Dimanche
// Object of \ChinLeung\PhpWeek\PhpWeek with Sunday and set to locale of the application.
Weekday::parse('Sunday')->getInstance();
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.