You need PHP >= 7.4 to use Yasumi, but the latest stable version of PHP is recommended. Yasumi is verified and tested on PHP 7.4 and 8.0. Other versions of PHP are no longer supported.
Please see the Security and Support Policy for more details.
azuyalabs/yasumi using Composer by issuing the following command:
$ composer require azuyalabs/yasumi
Be sure to include the Composer autoload file in your project:
<?php require 'vendor/autoload.php'; // Use the factory to create a new holiday provider instance $holidays = Yasumi\Yasumi::create('USA', 2022);
That's all it takes, you're ready to go!
Interested in learning more about Yasumi? Have a look at the Cookbook section; this section includes various recipes, examples and how-to's to get started with Yasumi.
Last updated 01/30/2022