Register the form helper.

@return void
491361
protected function registerFormHelper()
    {
        $this->app->singleton('laravel-form-helper', function ($app) {

            $configuration = $app['config']->get('laravel-form-builder');

            return new FormHelper($app['view'], $app['translator'], $configuration);
        });

        $this->app->alias('laravel-form-helper', 'Kris\LaravelFormBuilder\FormHelper');
    }
248680
public function register()
    {
        parent::register();

        $this->registerConfig();

        $this->registerProvider(Providers\UtilityServiceProvider::class);

        $this->singleton(Contracts\SeoHelper::class, SeoHelper::class);
    }
405777
public function register()
    {
        $this->mergeConfigFrom(
            __DIR__ . '/../config/laravel-title.php', 'laravel-title'
        );

        $this->registerLaravelTitle();
        $this->app->alias('Title', \Garf\LaravelTitle\Title::class);
    }
970801
public function register()
    {
        $this->app['aura/html:helper'] = $this->app->share(
            function ($app) {
                $app;
                $factory = new \Aura\Html\HelperLocatorFactory;
                return $factory->newInstance();
            }
        );

        $this->app['aura/html:escaper'] = $this->app->share(
            function ($app) {
                $app;
                $factory = new \Aura\Html\EscaperFactory();
                return $factory->newInstance();
            }
        );

        $this->app['jnjxp/meta:helper'] = $this->app->share(
            function ($app) {
                $factory = new MetaHelperFactory(
                    $app->make('aura/html:helper'),
                    $app->make('aura/html:escaper')
                );
                return $factory->newInstance();
            }
        );

        $this->app->booting(
            function () {
                $loader = \Illuminate\Foundation\AliasLoader::getInstance();
                $loader->alias('AuraHtml', 'Jnjxp\Meta\Facades\AuraHtmlHelper');
                $loader->alias('Meta', 'Jnjxp\Meta\Facades\MetaHelper');
            }
        );
    }
655800
protected function registerFormBuilder()
    {
        $this->app->singleton('mform', function ($app) {
            $form = new FormBuilder($app['mhtml'], $app['url'], $app['view'], $app['session.store']->getToken());
            return $form;
            return $form->setSessionStore($app['session.store']);
        });
    }
1038817
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'fluentform');

        $renderer = config('fluentform.renderer');
        $validation = config('fluentform.validation');

        $this->app->singleton(Handler::class, Handler::class);
        $this->app->bind(BaseRenderer::class, config('fluentform.renderers.'.$renderer));
        $this->app->bind(BaseValidation::class, config('fluentform.validators.'.$validation));
        
        $this->app->bind('FluentForm', function ($app)
        {
            return app()->make(config('fluentform.form'));
        });

        $this->app->bind('FluentHtml', function ($app)
        {
            return app()->make(config('fluentform.html'));
        });
    }
882483
public function register()
    {
        if ($this->hasShortcodes()) {
            foreach ($this->shortcodes as $shortcode => $methodName) {
                if (method_exists($this->controller, $methodName)) {
                    add_shortcode($this->formatCode($shortcode), array($this->controller, $methodName));
                }
            }
        }
    }
627456
protected function registerFormBuilder()
    {
        $this->app->singleton('form', function ($app) {
            $this->loadConfigurationOptions();

            $form = new FormBuilder(
                $app['html'],
                $app['url'],
                $app['session.store']->token(),
                $this->getTheme()
            );

            $form->novalidate(
                $app['config']->get('html.novalidate', false)
            );

            return $form->setSessionStore($app['session.store']);
        });
    }
169047
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/config/config.php', 'tactician');

        $this->registerLocator();
        $this->registerExtractor();
        $this->registerInflector();
        $this->registerCommandHandler();
        $this->registerMiddleware();
        $this->registerCommandBus();
        $this->registerDispatcher();
    }
561546
public function register()
    {
        $this->registerConfigurationMapper();
        $this->registerCacheManager();
        $this->registerEntityManager();
        $this->registerClassMetadataFactory();
        $this->registerValidationVerifier();

        $this->commands([
            'Mitch\LaravelDoctrine\Console\GenerateProxiesCommand',
            'Mitch\LaravelDoctrine\Console\SchemaCreateCommand',
            'Mitch\LaravelDoctrine\Console\SchemaUpdateCommand',
            'Mitch\LaravelDoctrine\Console\SchemaDropCommand'
        ]);
    }
976153
public function register()
    {
        $configPath = __DIR__ . '/../config/ide-helper.php';
        $this->mergeConfigFrom($configPath, 'ide-helper');
        $localViewFactory = $this->createLocalViewFactory();

        $this->app->singleton(
            'command.ide-helper.generate',
            function ($app) use ($localViewFactory) {
                return new GeneratorCommand($app['config'], $app['files'], $localViewFactory);
            }
        );

        $this->app->singleton(
            'command.ide-helper.models',
            function ($app) {
                return new ModelsCommand($app['files']);
            }
        );

        $this->app->singleton(
            'command.ide-helper.meta',
            function ($app) use ($localViewFactory) {
                return new MetaCommand($app['files'], $localViewFactory, $app['config']);
            }
        );

        $this->app->singleton(
            'command.ide-helper.eloquent',
            function ($app) use ($localViewFactory) {
                return new EloquentCommand($app['files']);
            }
        );

        $this->commands(
            'command.ide-helper.generate',
            'command.ide-helper.models',
            'command.ide-helper.meta',
            'command.ide-helper.eloquent'
        );
    }
613825
public function register()
    {
        $this->registerFormGroupDirective();
        $this->registerLabelDirective();
        $this->registerStaticDirective();

        // Form fields
        $this->registerCheckboxDirective();
        $this->registerDatePickerDirective();
        $this->registerTimePickerDirective();
        $this->registerInputDirective();
        $this->registerSelectDirective();
        $this->registerTextareaDirective();

        // Buttons
        $this->registerCreateButtonDirective();
        $this->registerEditButtonDirective();
        $this->registerShowButtonDirective();
        $this->registerSaveButtonDirective();
        $this->registerDeleteButtonDirective();
        $this->registerBackButtonDirective();
    }
297625
public function register()
    {
        $this->registerHtmlBuilder();

        $this->registerFormBuilder();

        $this->app->alias('html', 'Collective\Html\HtmlBuilder');
        $this->app->alias('form', 'Rokde\LaravelBootstrap\Html\BootstrapFormBuilder');
    }
453348
function registerHelpers(helpers) {
    var s = this;
    var names = Object.keys(helpers || {});

    for (var i = 0, len = names.length; i < len; i++) {
      var name = names[i];
      s.registerHelper(name, helpers[name]);
    }

    return s;
  }
1255032
public function register()
    {
        $this->app->bind(Moderator::class, function ($app) {
            $config = $app->config->get('moderate', []);

            return new Moderator($config, $app['cache'], $app->getLocale());
        });

        // Register update event with the application
        $this->app['events']->listen('blacklist.updated', function () {
            $this->app[Moderator::class]->reloadBlacklist();
        });
    }
1179670
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/config/config.php', 'bootstrap_form');

        $this->app->singleton('bootstrap_form', function($app) {
            return new BootstrapForm($app['html'], $app['form'], $app['config']);
        });
    }
1152793
public function register()
    {
        /*
        |--------------------------------------------------------------------------
        | Providers
        |--------------------------------------------------------------------------
        */

        $this->app->register(\Collective\Html\HtmlServiceProvider::class);

        /*
        |--------------------------------------------------------------------------
        | Register the Utilities
        |--------------------------------------------------------------------------
        */

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

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

        $loader = AliasLoader::getInstance();

        $loader->alias('FormMaker', \Grafite\FormMaker\Facades\FormMaker::class);
        $loader->alias('InputMaker', \Grafite\FormMaker\Facades\InputMaker::class);

        // Thrid party
        $loader->alias('Form', \Collective\Html\FormFacade::class);
        $loader->alias('HTML', \Collective\Html\HtmlFacade::class);

        /*
        |--------------------------------------------------------------------------
        | Blade Directives
        |--------------------------------------------------------------------------
        */

        // Form Maker
        Blade::directive('form_maker_table', function ($expression) {
            return "<?php echo FormMaker::fromTable($expression); ?>";
        });

        Blade::directive('form_maker_array', function ($expression) {
            return "<?php echo FormMaker::fromArray($expression); ?>";
        });

        Blade::directive('form_maker_object', function ($expression) {
            return "<?php echo FormMaker::fromObject($expression); ?>";
        });

        Blade::directive('form_maker_columns', function ($expression) {
            return "<?php echo FormMaker::getTableColumns($expression); ?>";
        });

        // Label Maker
        Blade::directive('input_maker_label', function ($expression) {
            return "<?php echo InputMaker::label($expression); ?>";
        });

        Blade::directive('input_maker_create', function ($expression) {
            return "<?php echo InputMaker::create($expression); ?>";
        });
    }