PHP code example of frameduz-lib / bs-component

1. Go to this page and download the library: Download frameduz-lib/bs-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 / bs-component example snippets



    use Frameduz\Bootstrap;
    
    echo Bootstrap::inputText('username', 'text', '', 'class="form-control" placeholder="Username"');
    echo Bootstrap::inputText('password', 'password', '', 'class="form-control" placeholder="Password"');
    echo Bootstrap::inputSelect('user_level', array('admin' => 'Administrator', 'user' => 'User'), 'user', 'class="form-control"');