| Install | |
|---|---|
composer require omnia-digital/library |
|
| Latest Version: | v1.1.1 |
| PHP: | ^8.0 |
A comprehensive Laravel Livewire component library with UI components, traits, and third-party integrations.
Reusable traits to add common functionality to your Livewire components:
Ready-to-use UI components:
TipTap-powered rich text editor with:
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',
]
};
Publish the config file:
php artisan vendor:publish --tag="library-config"
Publish the views for customization:
php artisan vendor:publish --tag="library-views"
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();
To use the Media Manager component, install the companion package: omnia-digital/media-manager
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
For questions and support, visit omnia.church or email info@omnia.church.
The MIT License (MIT). Please see License File for more information.