alex-oliveira/ao-html

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Resources for HTML with Laravel 5.1 + Bootstrap 3

dev-master 2015-11-25 18:58 UTC

This package is auto-updated.

Last update: 2021-09-25 16:36:56 UTC


README

Resources for HTML with Laravel 5.1 + Bootstrap 3

1) Installation

$ composer require alex-oliveira/ao-html:dev-master

2) config/app.php

'providers' => [
    /*
     * Vendors Service Providers...
     */
    AoHtml\HtmlServiceProvider::class,
],
'aliases' => [
    /*
     * Vendors Facades
     */
    'Html' => AoHtml\HtmlFacade::class,
],

3) Template

Include package CSS in your template.

{!! html()->css() !!}

Include package JS in your template.

{!! html()->js() !!}

4) Elements

html()->tabs();
html()->tab();
html()->panels();
html()->panel();
html()->form();
html()->input();
html()->select();
html()->textarea();
html()->button();