omnia-digital / library
Offer a bunch of components for modern web
Fund package maintenance!
omnia-digital
Installs: 2 173
Dependents: 4
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 4
Language:Blade
Requires
- php: ^8.0
- codeat3/blade-coolicons: ^1.2||^2.0
- illuminate/contracts: ^8.0 || ^9.0 || ^10.0
- livewire/livewire: ^2.10||^3.0
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- nunomaduro/collision: ^6.0||^7.0
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21||^2.0
- pestphp/pest-plugin-laravel: ^1.1||^2.0
- phpunit/phpunit: ^9.5||^10.0
- spatie/laravel-ray: ^1.26
- dev-main
- 2.0
- v1.x-dev
- 1.0
- dev-dependabot/npm_and_yarn/nanoid-3.3.8
- dev-dependabot/npm_and_yarn/micromatch-4.0.8
- dev-dependabot/github_actions/dependabot/fetch-metadata-2.2.0
- dev-dependabot/github_actions/stefanzweifel/git-auto-commit-action-5
- dev-dependabot/github_actions/actions/checkout-4
- dev-feature/Switch_Primary_and_Secondary_Colors
- dev-Fix_Notification_Z_Index
- dev-feature/fix_modal_bg_overlay
- dev-add_classes_attribute_to_dropdown_panel
- dev-fix_input_text_component_class_attribute
This package is auto-updated.
Last update: 2024-12-12 21:30:45 UTC
README
Offer a bunch of components for modern web.
Installation
You can install the package via composer:
composer require omnia-digital/library
Publish the package scripts:
php artisan vendor:publish --tag="library-assets"
Include the assets
<html> <head> ... @libraryStyles </head> <body> ... @libraryScripts </body> </html>
Config Tailwind CSS for all components in tailwind.config.js
:
module.exports = { content: [ ... './vendor/omnia-digital/library/resources/views/**/*.blade.php', ] };
Optional Steps
Config File + Component Views
You can publish the config file with:
php artisan vendor:publish --tag="library-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="library-views"
Alpine.js Plugins
This package uses focus and collapse plugins for improving UI/UX. Consider adding it in 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();
Usage
...
Media Manager
To use the Media Manager component, you need to install this package first: https://github.com/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
License
The MIT License (MIT). Please see License File for more information.