setSkin(string $skin)
Available from version >= 2.5.3

Choose between two skins: Bootstrap v3 and Bootstrap V4

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


You can find a full example below:

$crud->setSubject('Customer', 'Customers');

$output = $crud->render();

You can see the results of the above code below:

Note: The below example is an iframe so it might appeared with a scroll bar. If you like you can view the example on a new tab