[EN] After update any Service Provider of your Application with the macro code, call the macro on your input:
[PT-BR] Adicione a macro em qualquer Service Provider da sua aplicação. Depois basta chamar o método/macro a partir do seu campo de formulário:
TextInput::make('name')->maxLength(120)->characterCounter();