承接 numencode/wn-widgets-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

numencode/wn-widgets-plugin

Composer 安装命令:

composer require numencode/wn-widgets-plugin

包简介

NumenCode Widgets plugin for Winter CMS

README 文档

README

The NumenCode Widgets plugin for Winter CMS provides a flexible and easy-to-use solution for managing reusable widgets in Winter CMS. This plugin simplifies adding dynamic, visually engaging components to your themes and templates, enhancing the overall user experience.

Version Packagist PHP Version Support Checks Tests License

Target Audience

The target audience for this plugin includes developers and designers who want to enhance their Winter CMS projects by incorporating reusable, visually appealing widgets. The provided widgets, such as counters, promotions, features, highlights, and galleries, are commonly used in modern web design and are often found in templates and themes available on various marketplaces. This plugin bridges the gap between static designs and dynamic functionality.

Installation

This plugin is available for installation via Composer.

composer require numencode/wn-widgets-plugin

After installing the plugin you will need to run the migrations.

php artisan winter:up

Requirements

Features Overview

This plugin provides an intuitive interface to create and manage a variety of widgets, enabling end users to customize their websites with ease. With multilingual support via the Winter.Translate plugin, it ensures global usability.

Component Rendering System

All widget components in this plugin leverage the ComponentRenderer trait from the NumenCode.Fundamentals plugin. This provides several key benefits:

  • Automatic Alias Resolution: Each component’s alias is automatically set based on its class name.
  • Customizable Rendering: Users can override default component templates via theme partials.
  • Layout Selection: Components support multiple layout options, allowing greater flexibility in presentation.

Overriding a Component’s Layout

To override a component’s layout, follow these steps:

  1. Create a folder inside your theme's partials directory that matches the component's alias (e.g., /themes/custom/partials/mycomponent) and add layout files such as default.htm, special.htm, etc.

  2. In your custom plugin's Plugin.php file, enable layout overrides in the boot() method by setting the static property $overrideLayout to true. Example:

    class Plugin extends PluginBase
    {
        public function boot()
        {
            \NumenCode\Widgets\Components\Promotions::$overrideLayout = true;
        }
    }

Available Widgets

Counters

Showcase statistics or numeric information on your website using dynamic and engaging animated counters. Enter the desired number, provide explanatory text, and optionally include an icon class for added flair. Counters can be easily configured through component properties.

Promotions

Create attention-grabbing promotional content such as sliders and carousels that seamlessly integrate into your website's aesthetic. Perfect for highlighting creative content within a compact space. Promotions are managed via the Promotions tab in the Widgets plugin.

Features

Display multiple items in an organized list or an eye-catching slider/carousel format. This is ideal for showcasing services, products, or other grouped content. Manage features directly from the Features tab.

Highlights

Create visually striking content cards with accompanying descriptions to emphasize key aspects of your website. Highlights are perfect for promoting unique selling points or key features and are managed through the Highlights tab.

Gallery

Easily create and manage multiple image galleries with a flexible and intuitive interface. Upload, reorder, and showcase images using the dedicated Gallery component, which seamlessly integrates into any page. Manage galleries via the Gallery tab in the Widgets plugin.

Changelog

All notable changes are documented in the CHANGELOG.

Contributing

Please refer to the CONTRIBUTING guide for details on contributing to this project.

Security

If you identify any security issues, email info@numencode.com rather than using the issue tracker.

Author

The NumenCode.Widgets plugin is created and maintained by Blaz Orazem.

For inquiries, contact: info@numencode.com

License

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

License

numencode/wn-widgets-plugin 适用场景与选型建议

numencode/wn-widgets-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 15 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 01 月 16 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「plugin」 「laravel」 「numencode」 「winter」 「winter cms」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 numencode/wn-widgets-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 numencode/wn-widgets-plugin 我们能提供哪些服务?
定制开发 / 二次开发

基于 numencode/wn-widgets-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

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