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-11-23 10:58:08 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