tbublikova/otus-ch-zodiac

There is no license information available for the latest version (1.5.0) of this package.

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/tbublikova/otus-ch-zodiac

1.5.0 2024-06-24 08:49 UTC

This package is auto-updated.

Last update: 2025-12-24 12:24:23 UTC


README

A package to determine the Chinese zodiac sign for a given year.

Requirements

  • PHP 7.4 or higher

Installation

You can install the package via Composer:

composer require your-vendor-name/chinese-zodiac

USAGE

<?php
require 'vendor/autoload.php';

use YourVendorName\ChineseZodiac\ChineseZodiac;

// Create an instance of the ChineseZodiac class
$zodiac = new ChineseZodiac();

// Get the zodiac sign for a specific year
echo $zodiac->getZodiac(2024); // Output: Dragon