setSkin

setSkin(string $skin)

Choose between two skins: Bootstrap v3 and Bootstrap V4

The default skin is Bootstrap V4 or else you can set the skin as 'bootstrap-v4'. In order to change the default skin to Bootstrap V4, you simply need to add the below line of code:

$crud->setSkin('bootstrap-v3'); // Choose between 'bootstrap-v3' and 'bootstrap-v4'

$crud->setSkin('bootstrap-v3');
$crud->setTable('customers');
$crud->setSubject('Customer', 'Customers');
$crud->columns(['customerName','phone','addressLine1','creditLimit']);

$output = $crud->render();

You can see the results of the above code below: