2017 © Pedro Peláez
 

library tablify

image

dialect-katrineholm/tablify

  • Monday, June 25, 2018
  • by dialect-katrineholm
  • Repository
  • 3 Watchers
  • 0 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Tablify

Tablify makes creating data-tables in multiple formats easier., (*1)

Installation

Install via composer, (*2)

composer require dialect-katrineholm/tablify

Publish config, (*3)

php artisan vendor:publish --provider="Dialect\Tablify\TablifyServiceProvider"

Usage

``` php #basic usage tablify($collection)->text('Header', 'mapping')->toHtml();, (*4)

  //tablify automatically gets properties from data
  tablify($articles)
  ->text('Category', 'category.name')
  ->text('Name', 'name')
  ->currency('Price', 'price');

  //Or it can take a closure
  ->text('popular', function($item){
    return $item->sells > 5 ? 'Yes' : 'No';
  });

  #groups
  //if an item in the data contains a array itself you can loop over it using group

  tablify($categories)
  ->text('Category', 'name')
  ->group('articles', function($tablify){
    //In here you can access the tablfiy builder for every article.
  });

  #Settings
  //TODO

```, (*5)

The Versions

25/06 2018

dev-master

9999999-dev https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit

25/06 2018

0.4.3

0.4.3.0 https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit

25/06 2018

dev-object-to-tabliftobject

dev-object-to-tabliftobject https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit

25/06 2018

0.4.2

0.4.2.0 https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit

25/06 2018

0.4.1

0.4.1.0 https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit

17/04 2018

0.4.0

0.4.0.0 https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit

28/03 2018

dev-use-number-config-for-sum

dev-use-number-config-for-sum https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit

28/03 2018

dev-sum-fix

dev-sum-fix https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit

28/03 2018

dev-config-fix

dev-config-fix https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit

28/03 2018

dev-added-header-and-footer-columns

dev-added-header-and-footer-columns https://github.com/dialect-katrineholm/tablify

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel translate vue dialect transedit