for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Xetaravel\Providers;
use Collective\Html\FormFacade as Form;
use Illuminate\Support\ServiceProvider;
class BootstrapServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
Form::component(
'bsText',
'components.form.text',
['name', 'label' => null, 'value' => null, 'attributes' => []]
);
'bsEmail',
'components.form.email',
'bsTextarea',
'components.form.textarea',
Form::component('bsPassword', 'components.form.password', ['name', 'label' => null, 'attributes' => []]);
Form::component('bsCheckbox', 'components.form.checkbox', [
'name',
'value' => 1,
'checked' => null,
'label' => null,
'attributes' => []
]);
'bsInputGroup',
'components.form.input-group',
}