moonspot / material-components
Library of HTML components styled with Materialize
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 2
pkg:composer/moonspot/material-components
Requires
- php: ^8.2
- moonspot/component: ^1.0.2
Requires (Dev)
- dealnews/test-helpers: ^2.1
- friendsofphp/php-cs-fixer: ^3.75
- phan/phan: ^5.4
- php-parallel-lint/php-parallel-lint: ^1.4
- phpunit/phpunit: ^11.5
This package is auto-updated.
Last update: 2025-11-09 06:23:09 UTC
README
Materialize components implemented as PHP view helpers.
Requirements
To use these components, include the following in the <head> of the HTML.
<!-- Compiled and minified CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> <!-- Material Icons --> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <!-- Compiled and minified JavaScript --> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
Documentation
- Badge
- Breadcrumb
- Button
- Card
- Checkbox
- Collection
- Floating Action Button
- Footer
- Icon
- Navbar
- Pagination
- Radio
- Select
- Tabs
- TextArea
- TextInput
Testing
Run the full suite:
composer test