PHP Controls Bootstrap controls for PHP

\Bootstrap\Components\Select

Code
$data = [
    ['id' => 1, 'name' => 'Lodev09', 'email' => 'lodev09@smartadmin.lodev09.com'],
    ['id' => 2, 'name' => 'foo', 'email' => 'bar@email.com'],
    ['id' => 3, 'name' => 'bar', 'email' => 'foo@email.com']
];

$select = new \Bootstrap\Components\Select($data, 'user_id', 'id', 'name');
$select
    ->id('select-user')
    ->default('Choose...')
    ->class('bg-success-50')
    ->label('Select User')
    ->help('Use Inspect Element to view the generated HTML code');

$select->printHtml();
Result
printHtml() ?>

Documentation

setBreaksEnabled(true); echo $parsedown->text($content); ?>