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
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.
omnia-digital/library 适用场景与选型建议
omnia-digital/library 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 8.5k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 05 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「library」 「laravel」 「omnia-digital」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 omnia-digital/library 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 omnia-digital/library 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 omnia-digital/library 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel Livewire calendar component
Inbox pattern process implementation for your Laravel Applications
Core library that defines common interfaces used by the rest of the intahwebz..
Amqp classes
Provides command to manage a web library directory
Alfabank REST API integration
统计信息
- 总下载量: 8.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 13
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-11