- composer require sibosendteam/font-confusion
- add provider to config file app.php:
Sibosend\FontConfusion\FontConfusionServiceProvider
- add Facade:
'ConfusedFont'=> 'Sibosend\FontConfusion\Facades\ConfusedFont',
- copy src/config/font_confusion.php to your project app/config
- copy src/views/confusedFont.blade.php to your project app/views
- include view 'confusedFont' in which page need confuse font, and add 'confused_font' to the text:
<head>
......
@include('confusedFont')
......
</head>
......
<span class="confused_font"><% ConfusedFont::getConfusedStr('confuse text') %></span>
......