willigant/htmlstrap-php

Quickly make Bootstrap html elements from common data types in PHP

v1.0.0 2015-07-11 16:48 UTC

This package is auto-updated.

Last update: 2024-10-23 10:48:59 UTC


README

Quickly make Bootstrap html elements from common data types in PHP

$messages_table = new table($data)
                ->hide_columns('user_id','updated_at')
                ->rename_column('phone_number','Phone Number')
                ->add_delete_column('/message/remove/')
                ->condensed()
                ->striped();

                echo $messages_table; // some bootstrapy table