定制 joaofigueira/portugal-holidays 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

joaofigueira/portugal-holidays

Composer 安装命令:

composer require joaofigueira/portugal-holidays

包简介

List of holidays of a given year or a series of years.

README 文档

README

Lists holidays of Portugal for a given year or a series of years.

Installation

Install using Composer

$ composer require joaofigueira/portugal-holidays

Usage

List using internal reference files:

use Holidays\Holidays;
use Holidays\Clients\Json;
use Holidays\Handlers\File;

$client  = new Json;
$handler = new File;

$holidays = new Holidays($client, $handler);

$result = $holidays->get($years)->asArray();

List using external webservice call:

use Holidays\Holidays;
use Holidays\Clients\Http;
use Holidays\Handlers\Xml;

$client  = new Http;
$handler = new Xml;

$holidays = new Holidays($client, $handler);

$result = $holidays->get($years)->asArray();

Contribute

You can clone and contribute to this project.

Setup local environment:

  • make sure you have docker installed in your machine.
  • clone the project.
  • run setup: $ ./setup.sh. You may have to $ chmod +x setup.sh to be able to run the script. This will create the docker container and run composer install for you.
  • run tests: $ ./run-tests.sh.

统计信息

  • 总下载量: 106
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固