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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mary-v1-community

Community Maintained Stable v1 MIT License

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/:

Example: resources/js/app.js

Notes

  • registerDialog() and registerToast() use the global window.Livewire (Livewire 3), so call them after Livewire has been loaded.
  • registerColorPalette(Alpine) must be called inside the alpine:init event so the store is available before Alpine boots.
  • currency.js only needs to be imported once — it auto-attaches window.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

PHP Build Version
Package Version
Requires illuminate/support Version ^10.0|^11.0|^12.0|^13.0
jfcherng/php-diff Version ^6.15
laravel/prompts Version ^0|^1
blade-ui-kit/blade-heroicons Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package williamalmeida/mary-v1-community contains the following files

Loading the files please wait ...