diff --git a/README.md b/README.md
index c425fdc..958b37c 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,27 @@ symfonycasts_reset_password:
enable_garbage_collection: true
```
+If using PHP configuration files:
+
+
+ config/packages/reset_password.php
+
+```php
+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,
+ ]);
+};
+```
+
+
+
The production environment may require the `default_uri` to be defined in the `config/packages/routing.yaml` to prevent the URI in emails to point to localhost.
```yaml
@@ -68,6 +89,24 @@ when@prod:
default_uri: ''
```
+If using PHP configuration files:
+
+
+ config/packages/routing.php
+
+```php
+ if ($containerConfigurator->env() === 'prod') {
+ $containerConfigurator->extension('framework', [
+ 'router' => [
+ # ...
+ 'default_uri' => ''
+ ],
+ ]);
+ }
+```
+
+
+
### Parameters:
#### `request_password_repository`