Register the form builder instance.

@return void
968811
protected function registerFormBuilder()
    {
        $this->app->singleton('form', function ($app) {
            $form = new BootstrapFormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->getToken());

            return $form->setSessionStore($app['session.store']);
        });
    }
520264
public function register()
    {
        // Register the FormModel Provider.
        $this->app->register(\Kregel\FormModel\FormModelServiceProvider::class);
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
        // Register the alias.
        $loader->alias('FormModel', \Kregel\FormModel\FormModel::class);
    }
836323
public function register()
	{
        $this->app->bind('vextSchema', function() {
            return new VextBuilder(Schema::getConnection());
        });

        $this->app->bind('vextValidate', function() {
            return new VextValidate();
        });

        $this->app->booting(function(){
            $loader = \Illuminate\Foundation\AliasLoader::getInstance();
            $loader->alias('VextSchema', 'Qlcorp\VextFramework\Facades\VextSchema');
            $loader->alias('VextValidate', 'Qlcorp\VextFramework\Facades\VextValidate');
        });

        $this->app->bindShared('command.migrate.generate', function($app) {
            $packagePath = $app['path.base'].'/vendor';
            $repository = $app['migration.repository'];
            $migrator = new VextMigrator($repository, $app['db'], $app['files']);
            return new GenerateModelsCommand($migrator, $packagePath);
        });

        $this->commands('command.migrate.generate');
	}
1054539
protected function register()
    {
        // Setup metabox relationships.
        $this->relation();

        // Make metabox model for the factory.
        $this->setModel($this->makeMetaboxModel());

        // Build metabox with model and singularity holders.
        $this->setSingularity($this->makeMetaboxInstance());

        // Set fields to the metabox.
        if ($this->methodExist('fields')) {
            $this->registerFields();
        }
    }
1016093
protected function registerAntaresFormBuilder()
    {
        $this->app->singleton('Antares\Contracts\Html\Form\Control', 'Antares\Html\Form\Control');

        $this->app->singleton('Antares\Contracts\Html\Form\Template', function ($app) {
            $class = $app->make('config')->get('antares/html::form.presenter', 'Antares\Html\Form\BootstrapThreePresenter');

            return $app->make($class);
        });

        $this->app->singleton('antares.form', function ($app) {
            return new FormFactory($app);
        });
    }
742797
protected function register()
    {
        // Make posttype model for the factory.
        $this->setModel($this->makePosttypeModel());

        // Build posttype with model.
        $this->setSingularity($this->makePosttypeInstance());

        // Set columns to the posttype, after admin init.
        if ($this->methodExist('columns')) {
            $this->registerColumns();
        }

        // Set posttype post templates.
        if ($this->methodExist('templates')) {
            $this->registerTemplates();
        }
    }
349470
protected function registerFormBuilder()
    {
        $this->app->singleton('form', function($app)
        {
            return new BonesMacrosFormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->getToken());
        });
    }
981901
public function register()
	{
		$logger = new Writer(
			new Logger($this->app['env']), $this->app['events']
		);

		$this->app->instance('log', $logger);

		// If the setup Closure has been bound in the container, we will resolve it
		// and pass in the logger instance. This allows this to defer all of the
		// logger class setup until the last possible second, improving speed.
		if (isset($this->app['log.setup']))
		{
			call_user_func($this->app['log.setup'], $logger);
		}
	}
35387
public function register()
    {
        $this->publishes([
            __DIR__.'/../config/laravel-conf.php' => config_path('laravel-conf.php'),
        ], 'config');

        $this->app->singleton('conf', function ($app) {
            return new ConfManager($app);
        });

        $this->publishes([
            __DIR__.'/../database/migrations/' => database_path('migrations'),
        ], 'migrations');

        require_once __DIR__.'/helper.php';
    }
100414
protected function registerFormBuilder()
    {
        $this->app['form'] = $this->app->share(function($app)
        {            
            $form = new FormBuilder(
                $app['html'], 
                $app['url'], 
                $app['session.store']->getToken(), 
                $app['translator'],
                $app['session.store']->get('errors'));
            return $form->setSessionStore($app['session.store']);
        });
    }
1264935
public function register()
    {
        $this->app->singleton('viewBuilder', function ($app) {
            return $app->make(ViewBuilder::class);
        });

        if ($this->app->environment('local') || request('debug') == true) {
            $debugbar = $this->app['debugbar'];

            if ($debugbar->shouldCollect('auto_views')) {
                $debugbar->addCollector(new AutoViewCollector());
            }
        }
    }
1077298
public function register()
    {
        $this->registerHtmlBuilder();
        $this->registerThemeFormBuilder();
        $this->registerThemeViews();
        $this->registerThemeLayouts();
        $this->registerThemeExtension();
    }
913058
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/resources/config/config.php', 'datatables-html');

        $this->app->register(CollectiveHtml::class);

        $this->app->bind('datatables.html', function () {
            return $this->app->make(Html\Builder::class);
        });
    }
5467
public function boot()
    {
        $this->loadViewsFrom(__DIR__ . '/../../views', 'laravel-form-builder');

        $this->publishes([
            __DIR__ . '/../../views' => base_path('resources/views/vendor/laravel-form-builder'),
            __DIR__ . '/../../config/config.php' => config_path('laravel-form-builder.php')
        ]);

        $form = $this->app['form'];

        $form->macro('customLabel', function($name, $value, $options = []) use ($form) {
            if (isset($options['for']) && $for = $options['for']) {
                unset($options['for']);
                return $form->label($for, $value, $options);
            }

            return $form->label($name, $value, $options);
        });
    }
1293082
public function register()
	{
		$this->app->bindShared('package.creator', function($app)
		{
			return new PackageCreator($app['files']);
		});

		$this->app->bindShared('command.workbench', function($app)
		{
			return new WorkbenchMakeCommand($app['package.creator']);
		});

		$this->commands('command.workbench');
	}
470140
public function register() {
        $this->registerFilesystemProvider();
        $this->registerDatabaseProvider();
        $this->registerCompressorProvider();
        $this->registerShellProcessor();
        $this->registerArtisanCommands();
    }
1310759
public function register()
    {
        // Register main classes
        $this->app->make('Laraveldaily\Quickadmin\Controllers\QuickadminController');
        $this->app->make('Laraveldaily\Quickadmin\Controllers\UserActionsController');
        $this->app->make('Laraveldaily\Quickadmin\Controllers\QuickadminMenuController');
        $this->app->make('Laraveldaily\Quickadmin\Cache\QuickCache');
        $this->app->make('Laraveldaily\Quickadmin\Builders\MigrationBuilder');
        $this->app->make('Laraveldaily\Quickadmin\Builders\ModelBuilder');
        $this->app->make('Laraveldaily\Quickadmin\Builders\RequestBuilder');
        $this->app->make('Laraveldaily\Quickadmin\Builders\ControllerBuilder');
        $this->app->make('Laraveldaily\Quickadmin\Builders\ViewsBuilder');
        $this->app->make('Laraveldaily\Quickadmin\Events\UserLoginEvents');
        // Register dependency packages
        $this->app->register('Collective\Html\HtmlServiceProvider');
        $this->app->register('Intervention\Image\ImageServiceProvider');
        $this->app->register('Yajra\Datatables\DatatablesServiceProvider');
        // Register dependancy aliases
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
        $loader->alias('HTML', 'Collective\Html\HtmlFacade');
        $loader->alias('Form', 'Collective\Html\FormFacade');
        $loader->alias('Image', 'Intervention\Image\Facades\Image');
        $loader->alias('Datatables', 'Yajra\Datatables\Datatables');
    }