i-internet/yii2-special-day-decorator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

i-internet/yii2-special-day-decorator

最新稳定版本:2.0

Composer 安装命令:

composer require i-internet/yii2-special-day-decorator

包简介

A Yii2 extension for decorating your application on special days like Christmas, New Year's Eve, etc., with custom content on request.

README 文档

README

Yii2 Special Day Decorator

Installation

Overview

The Yii2 Special Day Decorator is an innovative extension for Yii2 applications that automatically displays customized content to users on designated special days, such as December 24th, 25th, or January 1st. This extension enhances the user experience by adding a festive touch to your website during these specific dates. Installation

To install the Yii2 Special Day Decorator, run the following command in your project directory:

composer require "i-internet/yii2-special-day-decorator:*"

Usage

To use the Special Day Decorator in your Yii2 application, simply integrate the SpecialDayDecoratorWidget into your main layout or any view file. Here's how you can do it:

echo workaholicdevelopers\specialdaydecorator\SpecialDayDecoratorWidget::widget();

On the specified special days (December 24th, 25th, or January 1st), this widget will automatically display the special content you've configured. This makes your application more engaging and festive during these occasions. Configuration

License

This extension is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2023-12-24