PHP code example of symfonycasts / reset-password-bundle
1. Go to this page and download the library: Download symfonycasts/reset-password-bundle 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/ */
symfonycasts / reset-password-bundle example snippets
use App\Repository\ResetPasswordRequestRepository;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
$containerConfigurator->extension('symfonycasts_reset_password', [
'request_password_repository' => ResetPasswordRequestRepository::class,
'lifetime' => 3600,
'throttle_limit' => 3600,
'enable_garbage_collection' => true,
]);
};