Download the PHP package chinese-holidays/holiday-checker without Composer

On this page you can find all versions of the php package chinese-holidays/holiday-checker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package holiday-checker

Chinese Holidays Checker

Build Status License: MIT

一个专业的 PHP 库,用于准确判断中国法定节假日、工作日及日常周末。

本库包含 2020-2026 年(及后续更新)的中国大陆法定节假日及调休数据,使用 JSON 文件管理每年数据,易于维护和扩展。

功能特性

环境要求

安装

使用 Composer 安装:

快速使用

数据更新

所有节假日数据存放在 data 目录下的 JSON 文件中(如 2024.json)。每年国务院发布新的放假安排时,只需提交对应年份的 JSON 文件 PR 即可。

JSON 格式示例:

贡献指南

请阅读 CONTRIBUTING.md 了解如何参与贡献。

许可证

本项目采用 MIT 许可证开源,详情请见 LICENSE 文件。


All versions of holiday-checker with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package chinese-holidays/holiday-checker contains the following files

Loading the files please wait ...