1. Go to this page and download the library: Download tfsthiagobr98/filament-2fa library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
## in Service Provider file
public function boot()
{
Filament::registerRenderHook(
'filament-jetstream.profile-page.end',
fn (): View => view('partials.2fa-section'),
);
}