LaravelPackages.net
Acme Inc.
Toggle sidebar
marshmallow/components

Extendend Laravel Blade Components for Marshmallow

7.414
0
v1.5.0
About marshmallow/components

marshmallow/components is a Laravel package for extendend laravel blade components for marshmallow. It currently has 0 GitHub stars and 7.414 downloads on Packagist (latest version v1.5.0). Install it with composer require marshmallow/components. Discover more Laravel packages by marshmallow or browse all Laravel packages to compare alternatives.

Last updated

alt text

Extended Laravel Blade Components for Marshmallow

Latest Version on Packagist Total Downloads

A collection of reusable Blade components for Laravel by Marshmallow — form fields, navigation elements and a few product/UI helpers, all registered under the mm- prefix.

Installation

Install the package via Composer:

composer require marshmallow/components

The package is auto-discovered, so there is nothing else to register. The components become available immediately.

Optionally, publish the views to your application so you can customise the markup:

php artisan vendor:publish --provider="Marshmallow\Components\ComponentsServiceProvider" --tag="marshmallow-views"

Published views are written to resources/views/vendor/marshmallow.

Usage

Every component is registered with the mm- prefix and can be used directly in your Blade templates:

<x-mm-button href="/checkout">Continue</x-mm-button>

<x-mm-input name="email" type="email" />

<x-mm-errors />

Available components

Form fields

mm-button, mm-checkbox, mm-default-authentication-card, mm-default-input, mm-divider, mm-email, mm-error, mm-errors, mm-image-modal, mm-input, mm-label, mm-link, mm-list-image, mm-number, mm-outline-button, mm-password, mm-radio, mm-secondary-button, mm-select, mm-textarea, mm-tooltip-label, mm-tooltip, mm-usp-fontawesome, mm-white-button, mm-wysiwyg.

Navigation

mm-navigation.cart, mm-navigation.dropdown-link, mm-navigation.dropdown, mm-navigation.link, mm-navigation.responsive-nav-link.

Products

mm-product.image.

You can inspect or override any of these by publishing the views (see Installation) and editing the files in resources/views/vendor/marshmallow/components.

Testing

composer test-coverage

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.

Star History Chart