Download the PHP package williamalmeida/mary-v1-community without Composer
On this page you can find all versions of the php package williamalmeida/mary-v1-community. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download williamalmeida/mary-v1-community
More information about williamalmeida/mary-v1-community
Files in williamalmeida/mary-v1-community
Package mary-v1-community
Short Description Mary UI Community Edition - UI components for Livewire, daisyUI and Tailwind (forked and maintained by William Almeida)
License MIT
Homepage https://github.com/WilliamAlmeida/mary-v1-community
Informations about the package mary-v1-community

mary-v1-community
This repository is an independent, community-maintained continuation of the original MaryUI v1 project. It preserves and extends the classic v1 branch after official support was discontinued, ensuring ongoing updates, bug fixes, and compatibility for users who rely on the v1 codebase.
mary-v1-community provides a set of beautiful UI components for Livewire, powered by daisyUI and Tailwind CSS, based on the original MaryUI v1 foundation.
Documentation
Refer to the maryUI website for the original documentation. Community updates and new documentation will be provided here as the project evolves.
Contributing
Contributions are welcome! If you want to help maintain or improve mary-v1-community, please open issues or pull requests.
To use this package locally during development, clone this repository and set up a local path repository in your app's composer.json:
Then require the package:
Start the dev server:
Importing JS helpers from vendor (no CDN required)
The original maryUI docs suggest loading some helpers (e.g. currency.js) via CDN from a <script> tag in your layout. In mary-v1-community you can also import the bundled helpers directly from the package inside your resources/js/app.js, so they get processed by Vite and bundled with your app — no extra CDN request needed.
The available helpers live under vendor/williamalmeida/mary-v1-community/libs/:
color-palette.js— registers the$store.maryColorPaletteAlpine store used by the<x-color-palette>component.dialog.js— registers the global Livewiredialoglistener used by theDialogtrait.toast.js— registers the global Livewiretoastlistener used by theToasttrait.currency.js— provides the globalwindow.Currencyclass used by the<x-input money>component.
Example: resources/js/app.js
Notes
registerDialog()andregisterToast()use the globalwindow.Livewire(Livewire 3), so call them after Livewire has been loaded.registerColorPalette(Alpine)must be called inside thealpine:initevent so the store is available before Alpine boots.currency.jsonly needs to be imported once — it auto-attacheswindow.Currency.
Tailwind: scan the package sources
Make sure your tailwind.config.js includes the package components so Tailwind picks up the classes used inside them:
Tip: se você está desenvolvendo localmente usando um repositório path (link simbólico via composer), inclua também o caminho para a cópia local do pacote para que o Vite/Tailwind detectem as classes durante o desenvolvimento. Exemplo com ambas as opções:
Isso garante que o Tailwind processe as classes usadas por <x-color-palette> (e outros componentes do pacote) tanto em instalações via vendor quanto em desenvolvimento local.
Color Palette component
<x-color-palette> renders a Tailwind color palette picker (all 22 color families × shades 50–950) and stores the selected hex value in your model.
It depends on the maryColorPalette Alpine store registered by libs/color-palette.js (see the import section above).
Available props: label, hint, hintClass, inline, clearable, plus the standard error props (errorField, errorClass, omitError, firstErrorOnly). Standard HTML attributes such as disabled, readonly, required and placeholder are also supported.
License
mary-v1-community is open-sourced software licensed under the MIT license.
All versions of mary-v1-community with dependencies
jfcherng/php-diff Version ^6.15
laravel/prompts Version ^0|^1
blade-ui-kit/blade-heroicons Version ^2.0