omnia-digital/library 问题修复 & 功能扩展

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

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

omnia-digital/library

Composer 安装命令:

composer require omnia-digital/library

包简介

A comprehensive Laravel Livewire component library with UI components, traits, and third-party integrations

README 文档

README

Latest Version on Packagist Total Downloads

A comprehensive Laravel Livewire component library with UI components, traits, and third-party integrations.

Requirements

  • PHP 8.2+
  • Laravel 10.x or 11.x
  • Livewire 2.10+ or 3.x

Features

Livewire Traits

Reusable traits to add common functionality to your Livewire components:

  • WithModal - Modal dialog management
  • WithNotification - Toast and notification handling
  • WithSorting - Data sorting functionality
  • WithCachedRows - Row caching for improved performance
  • WithStepWizard - Multi-step wizard navigation
  • WithStripe - Stripe payment integration
  • WithPlace - Google Places & Mapbox location picker
  • WithMap - Interactive map functionality
  • WithLayoutSwitcher - Grid/list layout toggling
  • WithInlineInput - Inline editing support
  • WithValidationFails - Enhanced validation error handling

Blade Components

Ready-to-use UI components:

  • Layout - Dropdown, Card, Tag, Notification, Confirm dialog
  • Forms - Text input, Date picker, Select, Radio group, Email, Range slider
  • Integrations - Place picker, Stripe payment fields, Media manager

Rich Text Editor

TipTap-powered rich text editor with:

  • Extensive toolbar configuration
  • Bubble and floating menus
  • Tables, code blocks, and formatting options

Third-Party Integrations

  • Google Places API
  • Mapbox API
  • Stripe Payments
  • Canva Button API

Installation

Install the package via composer:

composer require omnia-digital/library

Publish the package assets:

php artisan vendor:publish --tag="library-assets"

Include the assets in your layout:

<html>
<head>
    ...
    @libraryStyles
</head>
<body>
    ...
    @libraryScripts
</body>
</html>

Configure Tailwind CSS in tailwind.config.js:

module.exports = {
    content: [
        ...
        './vendor/omnia-digital/library/resources/views/**/*.blade.php',
    ]
};

Optional Configuration

Config File & Views

Publish the config file:

php artisan vendor:publish --tag="library-config"

Publish the views for customization:

php artisan vendor:publish --tag="library-views"

Alpine.js Plugins

This package uses focus and collapse plugins. Add them to your resources/js/app.js:

import Alpine from 'alpinejs';
import focus from '@alpinejs/focus';
import collapse from '@alpinejs/collapse';

Alpine.plugin(focus)
Alpine.plugin(collapse)

window.Alpine = Alpine;

Alpine.start();

Media Manager

To use the Media Manager component, install the companion package: omnia-digital/media-manager

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

Support

For questions and support, visit omnia.church or email info@omnia.church.

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固