Download the PHP package contextmapp/laravel-material-components without Composer

On this page you can find all versions of the php package contextmapp/laravel-material-components. 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 laravel-material-components

Material Components for Laravel

This package provides Blade components to use Material Components with Laravel.

Installation

Add the package with Composer:

If you use Laravel 5.4 or later, the package's service provider registers itself with your application. Otherwise, you should add the provider to your application config in config/app.php:

Components

The components are available under the mdc namespace.

Include the MDC stylesheet and script bundles.

To make use of the Material Icons, include the icon font:

All components have the data-mdc-auto-init attribute set, so they will be initialized automatically when mdc.autoInit() is called.

Buttons

Component: mdc::button

Example:

Slots:

Parameters:

Floating Action Button

Component: mdc::fab

Example:

Slots:

Parameters:

Cards

Component: TODO

Chips

Component: TODO

Dialogs

Component: mdc::dialog

The dialog component contains a form, so you can easily add form components to add interactivity to it. Add a submit button as one of the form actions and you're done. When included in a Laravel framework application, the CSRF-field is added automatically.

Example:

Slots:

Parameters:

Dialog actions

Component: mdc::dialog.action

Example:

Slots:

Parameters:

Drawers

Component: mdc::drawer

Example:

Slots:

Parameters:

Image List

Component: TODO

Inputs and controls

For all inputs, the default slot functions as the label of the component.

Shared parameters:

Checkboxes

Component: mdc::checkbox

Example:

Parameters:

Form field

Component: mdc::form-field

You'll mostly won't use this component directly, as it is included with the other input controls by default.

Example:

Slots:

Parameters:

Radios

Component: mdc::radio

Example:

Parameters:

Select

Component: mdc::select

Example:

Slots:

Parameters:

This component has no additional parameters

Sliders

Component: TODO

Switches

Component: mdc::switch

Example:

Parameters:

Text Field

Component: mdc::text-field

Example:

Parameters:

Text Field Helper Text

Component: mdc::text-field.helper-text

You'll mostly won't use this component directly, as it is included with the other input controls by default.

Example:

Slots:

Parameters:

Lists

Components: mdc::list

Example:

Parameters:

List items

Components: mdc::list.item

Example of a regular list item with icon:

Example of a two line list item with avatar:

Slots:

Parameters:

Menus

Components: mdc::menu

Example:

Parameters:

Snackbars

Component: mdc::snackbar

Example:

Parameters:

This component has no parameters

Tabs

Component: TODO

Toolbars

Component: mdc::toolbar

Example:

Slots:

Parameters:

This component has no parameters

Toolbar menu action

Component: mdc::toolbar.menu-action

Example:

Slots:

Parameters:

Toolbar action

Component: mdc::toolbar.action

Example:

Slots:

Parameters:

Top App Bar

Component: mdc::top-app-bar

This component mimics the toolbar component in most aspects, refer to the toolbar section for more information

Example:

Slots:

Parameters:

This component has no parameters


All versions of laravel-material-components with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
illuminate/support Version 5.4 - 5.7
illuminate/view Version 5.4 - 5.7
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 contextmapp/laravel-material-components contains the following files

Loading the files please wait ....