PHP code example of bgaze / bootstrap-form

1. Go to this page and download the library: Download bgaze/bootstrap-form 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/ */

    

bgaze / bootstrap-form example snippets


echo BF::open(['url' => '/my/url', 'novalidate' => true]);
echo BF::text('login');
echo BF::email('email');
echo BF::checkbox('remember_me', null, 1, null, ['switch' => true, 'inline' => true]);
echo BF::submit('Login');
echo BF::close();
shell
php artisan vendor:publish --provider="Bgaze\BootstrapForm\BootstrapFormServiceProvider"
blade
@open(['url' => '/my/url', 'novalidate' => true])
@text('login')
@email('email')
@checkbox('remember_me', null, 1, null, ['switch' => true, 'inline' => true])
@submit('Login')
@close