use yii\helpers\Inflector; echo Inflector::humanize('customer_address'); // outputs "Customer Address" echo Inflector::humanize('order_total_amount'); // outputs "Order Total Amount"In this example, we use the `Inflector` class from the `yii\helpers` package to call the `humanize()` method and pass in the string we want to transform. The `humanize()` method is part of the Inflector package library, which provides a wide variety of string manipulation functions to make working with text easier and more efficient. Some other methods included in this library include `pluralize()`, `singularize()`, and `camel2id()`, among many others.