8000 GitHub - SamyOteroGlez/tableBuilder: Laravel Table Builder
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SamyOteroGlez/tableBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Table Builder

Use

  • Add App\Providers\TableBuilderProvider::class to providers in config/app.php
  • Add TableBuilder' => App\Html\TableBuilder::class, to aliases in config/app.php
  • In a view:
{!! TableBuilder::render($collection, 
    [
        'tableColumns' => [
            'name' => 'Name', 
            'file_name' => 'File Name', 
            'storage_name' => 'Storage Name'
        ],
        'tableAttributes' => [
            'tableId' => 'tbl-datatable',
            'tableName' => 'tbl-name',
            'tableClass' =>'table table-hover table-condensed'
        ]
    ]) 
!!}

About

Laravel Table Builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0