PHP code example of frameduz-lib / mt-component
1. Go to this page and download the library: Download frameduz-lib/mt-component library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
frameduz-lib / mt-component example snippets
use Frameduz\Materialize;
echo Materialize::inputText('username', 'text', 'class="form-control"', 'placehoder="Username"');
echo Materialize::inputText('password', 'password', 'class="form-control"', 'placehoder="Password"');
echo Materialize::inputSelect('user_level', array('admin' => 'Administrator', 'user' => 'User'), 'user', 'class="form-control"');