定制 laravel-enso/holidays 二次开发

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

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

laravel-enso/holidays

最新稳定版本:1.0.4

Composer 安装命令:

composer require laravel-enso/holidays

包简介

Holiday calendar management for Laravel Enso

README 文档

README

License Stable Downloads PHP Issues Merge Requests

Description

Holidays manages annual holiday calendars and working-day overrides for Laravel Enso.

The package exposes endpoints for listing available years, showing all holidays for a selected year, and toggling individual days between holiday and working-day status.

It is a small administrative package intended to support date-aware business rules in Enso applications.

Installation

Install the package:

composer require laravel-enso/holidays

Run the package migrations:

php artisan migrate

Features

  • Year index endpoint for available holiday calendars.
  • Holiday list endpoint grouped by year.
  • Toggle endpoint for marking a holiday as a working day or restoring it.
  • API resources for normalized year and holiday payloads.

Usage

The package mounts its routes under holidays.*.

Each holiday resource exposes:

  • formatted date
  • numeric month
  • name
  • description
  • isWorkingDay

API

HTTP routes

  • GET api/holidays
  • GET api/holidays/{year}
  • PATCH api/holidays/{holiday}/toggle

Models

  • LaravelEnso\\Holidays\\Models\\Holiday
  • LaravelEnso\\Holidays\\Models\\HolidayYear

Depends On

The package does not require additional Enso backend packages beyond the host Laravel application.

Companion frontend package:

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固