diff --git a/README.txt b/README.txt
index 711eab1..01dd1c4 100644
--- a/README.txt
+++ b/README.txt
@@ -21,8 +21,10 @@ CONFIGURATION
     4. Save configuration.
 
 Please note:
-in case, any another module is no longer functional after this module means that the other module uses hard coded paths instead of paths
-generated by the router with a route name. This is not something that can and should by fixed by this module.
+in case, any another module is no longer functional after this module means
+that the other module uses hard coded paths instead of paths generated by the
+router with a route name. This is not something that can and should by fixed
+by this module.
 
 
 ## MAINTAINERS
@@ -33,7 +35,18 @@ Current maintainers:
 
 This project has been sponsored by:
  * Skynet technologies
-   Skynet Technologies is ISO 9001:2015 & 27001:2013 certified company providing end-to-end IT Services including Website Design & Development, ecommerce shopping cart, SEO & Digital Marketing, ADA Website Design, Custom Analytics, Mobile App, CRM, ERP & Custom Software Development for 19 years. We deliver our services to Start-Ups, SMEs, Corporates, Government & Agencies.
-
-   Our headquarter is in Amelia, Ohio. Also, We have subsidiaries in the USA (Nevada, Florida), India, and Australia. We are providing solutions for small to large businesses, enterprises, corporations, web development agencies, and firms. We believe in the customer-first approach. We go above and beyond to meet the tailored needs of our customers. Our primary aim is to serve our customers by allowing them to do a successful and profitable business with us online.
+   Skynet Technologies is ISO 9001:2015 & 27001:2013 certified company
+   providing end-to-end IT Services including Website Design & Development,
+   ecommerce shopping cart, SEO & Digital Marketing, ADA Website Design,
+   Custom Analytics, Mobile App, CRM, ERP & Custom Software Development for
+   19 years. We deliver our services to Start-Ups, SMEs, Corporates, Government
+   & Agencies.
+
+   Our headquarter is in Amelia, Ohio. Also, We have subsidiaries in the USA
+   (Nevada, Florida), India, and Australia. We are providing solutions for
+   small to large businesses, enterprises, corporations, web development
+   agencies, and firms. We believe in the customer-first approach. We go above
+   and beyond to meet the tailored needs of our customers. Our primary aim is
+   to serve our customers by allowing them to do a successful and profitable
+   business with us online.
    Visit https://www.skynettechnologies.com for more information.
diff --git a/secure_admin_path.info.yml b/secure_admin_path.info.yml
index 8d46508..35aa6c3 100644
--- a/secure_admin_path.info.yml
+++ b/secure_admin_path.info.yml
@@ -5,8 +5,3 @@ package: Administration
 php: 7.1
 core_version_requirement: ^8 || ^9 || ^10
 configure: secure_admin_path.admin
-
-# Information added by Drupal.org packaging script on 2021-11-16
-version: '1.0.0'
-project: 'secure_admin_path'
-datestamp: 1662979651
diff --git a/secure_admin_path.module b/secure_admin_path.module
index 89c5110..8e74aa3 100644
--- a/secure_admin_path.module
+++ b/secure_admin_path.module
@@ -1,16 +1,16 @@
 <?php
 
+/**
+ * @file
+ * Hooks implementation for the Secure Admin Path module.
+ */
+
 use Drupal\Core\Routing\RouteMatchInterface;
 use Drupal\Core\Link;
 use Drupal\Core\Url;
 
 /**
  * Implements hook_help().
- *
- * @param string $routeName
- * @param RouteMatchInterface $routeMatch
- *
- * @return string
  */
 function secure_admin_path_help($routeName, RouteMatchInterface $routeMatch) {
   switch ($routeName) {
diff --git a/src/Config.php b/src/Config.php
index 3ca9834..6b3280d 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -7,7 +7,7 @@ use Drupal\Core\Config\ConfigFactoryInterface;
 use Drupal\Core\Config\ImmutableConfig;
 
 /**
- * Config for secure_admin_path module
+ * Config for secure_admin_path module.
  */
 class Config {
 
@@ -17,29 +17,41 @@ class Config {
   const CONFIG_KEY = 'secure_admin_path.settings';
 
   /**
-   * @var ConfigFactoryInterface
+   * The configuration factory.
+   *
+   * @var \Drupal\Core\Config\ConfigFactoryInterface
    */
   private $configFactory;
 
   /**
-   * @var CoreConfig
+   * The editable configuration object.
+   *
+   * @var \Drupal\Core\Config\Config
    */
   private $configEditable;
 
   /**
-   * @var ImmutableConfig
+   * The immutable configuration object.
+   *
+   * @var \Drupal\Core\Config\ImmutableConfig
    */
   private $configImmutable;
 
   /**
-   * @param ConfigFactoryInterface $configFactory
+   * Config constructor.
+   *
+   * @param \Drupal\Core\Config\ConfigFactoryInterface $configFactory
+   *   The configuration factory.
    */
   public function __construct(ConfigFactoryInterface $configFactory) {
     $this->configFactory = $configFactory;
   }
 
   /**
-   * @return CoreConfig
+   * Gets the editable configuration object.
+   *
+   * @return \Drupal\Core\Config\Config
+   *   The editable configuration object.
    */
   private function getEditableConfig(): CoreConfig {
     if (empty($this->configEditable)) {
@@ -52,7 +64,10 @@ class Config {
   }
 
   /**
-   * @return ImmutableConfig
+   * Gets the immutable configuration object.
+   *
+   * @return \Drupal\Core\Config\ImmutableConfig
+   *   The immutable configuration object.
    */
   private function getImmutableConfig(): ImmutableConfig {
     if (empty($this->configImmutable)) {
@@ -63,40 +78,60 @@ class Config {
   }
 
   /**
+   * Checks if a path is enabled.
+   *
    * @param string $path
+   *   The path to check.
    *
    * @return bool
+   *   TRUE if the path is enabled, FALSE otherwise.
    */
   public function isPathEnabled(string $path): bool {
     return !empty($this->getImmutableConfig()->get(sprintf('%s_path', $path)));
   }
 
   /**
+   * Gets the value of a path.
+   *
    * @param string $path
+   *   The path to get the value for.
    *
    * @return string
+   *   The value of the path.
    */
   public function getPathValue(string $path): string {
     return $this->getImmutableConfig()->get(sprintf('%s_path_value', $path));
   }
 
   /**
+   * Sets the enabled status for a path.
+   *
    * @param string $path
+   *   The path to set the enabled status for.
    * @param string $enabled
+   *   The enabled status.
    */
   public function setPathEnabled(string $path, string $enabled): void {
     $this->getEditableConfig()->set(sprintf('%s_path', $path), $enabled);
   }
 
   /**
+   * Sets the value for a path.
+   *
    * @param string $path
+   *   The path to set the value for.
    * @param string $value
+   *   The value to set.
    */
   public function setPathValue(string $path, string $value): void {
     $this->getEditableConfig()->set(sprintf('%s_path_value', $path), $value);
   }
 
+  /**
+   * Saves the configuration changes.
+   */
   public function save(): void {
     $this->getEditableConfig()->save();
   }
+
 }
diff --git a/src/EventSubscriber/SecureAdminPathEventSubscriber.php b/src/EventSubscriber/SecureAdminPathEventSubscriber.php
index 17acac4..2bd54b2 100644
--- a/src/EventSubscriber/SecureAdminPathEventSubscriber.php
+++ b/src/EventSubscriber/SecureAdminPathEventSubscriber.php
@@ -9,33 +9,41 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
 use Symfony\Component\Routing\Route;
 use Symfony\Component\Routing\RouteCollection;
 
+/**
+ * Event subscriber for securing admin paths.
+ */
 class SecureAdminPathEventSubscriber implements EventSubscriberInterface {
 
   /**
-   * list of admin paths.
+   * List of admin paths.
    *
    * @var array
    */
   const ADMIN_PATHS = ['admin', 'user'];
 
   /**
-   * @var Config
+   * The secure_admin_path config.
+   *
+   * @var \Drupal\secure_admin_path\Config
    */
   private $config;
 
   /**
-   * @param Config $config
+   * SecureAdminPathEventSubscriber constructor.
+   *
+   * @param \Drupal\secure_admin_path\Config $config
+   *   The secure_admin_path configuration object.
    */
   public function __construct(Config $config) {
     $this->config = $config;
   }
 
   /**
+   * {@inheritdoc}
+   *
    * Use a very low priority so we are sure all routes are correctly marked as
    * admin route which is mostly done in other event subscribers like the
-   * AdminRouteSubscriber
-   *
-   * @return array
+   * AdminRouteSubscriber.
    */
   public static function getSubscribedEvents() {
     return [
@@ -46,7 +54,10 @@ class SecureAdminPathEventSubscriber implements EventSubscriberInterface {
   }
 
   /**
-   * @param RouteBuildEvent $event
+   * Alters the route collection to secure admin paths.
+   *
+   * @param \Drupal\Core\Routing\RouteBuildEvent $event
+   *   The route build event.
    */
   public function onRoutesAlter(RouteBuildEvent $event) {
     foreach (self::ADMIN_PATHS as $path) {
@@ -61,9 +72,14 @@ class SecureAdminPathEventSubscriber implements EventSubscriberInterface {
   }
 
   /**
-   * @param RouteCollection $routeCollection
+   * Alters the route collection by replacing the path for a given admin path.
+   *
+   * @param \Symfony\Component\Routing\RouteCollection $routeCollection
+   *   The route collection to be altered.
    * @param string $from
+   *   The admin path to be replaced.
    * @param string $to
+   *   The replacement path.
    */
   private function alterRouteCollection(
     RouteCollection $routeCollection,
@@ -76,9 +92,14 @@ class SecureAdminPathEventSubscriber implements EventSubscriberInterface {
   }
 
   /**
-   * @param Route $route
+   * Replaces the path of a route if it matches the specified admin path.
+   *
+   * @param \Symfony\Component\Routing\Route $route
+   *   The route to be modified.
    * @param string $from
+   *   The admin path to be replaced.
    * @param string $to
+   *   The replacement path.
    */
   private function replaceRoutePath(
     Route $route,
@@ -98,12 +119,15 @@ class SecureAdminPathEventSubscriber implements EventSubscriberInterface {
   }
 
   /**
-   * @param Route $route
-   * @param string $path
+   * Checks if the route matches the specified admin path.
    *
-   * @return boolean
+   * @param \Symfony\Component\Routing\Route $route
+   *   The route to be checked.
+   * @param string $path
+   *   The admin path to match.
    *
-   * match /path, /path/ and /path/* but not /path*
+   * @return bool
+   *   TRUE if the route matches the path, FALSE otherwise.
    */
   private function matchRouteByPath(Route $route, string $path): bool {
     return (bool) preg_match(
@@ -111,4 +135,5 @@ class SecureAdminPathEventSubscriber implements EventSubscriberInterface {
       $route->getPath()
     );
   }
+
 }
diff --git a/src/Form/SecureAdminPathSettingsForm.php b/src/Form/SecureAdminPathSettingsForm.php
index b6cdf9d..b21a739 100644
--- a/src/Form/SecureAdminPathSettingsForm.php
+++ b/src/Form/SecureAdminPathSettingsForm.php
@@ -11,40 +11,36 @@ use Drupal\secure_admin_path\Config;
 use Drupal\secure_admin_path\EventSubscriber\SecureAdminPathEventSubscriber;
 use Symfony\Component\DependencyInjection\ContainerInterface;
 
+/**
+ * Provides the form for Secure Admin Path settings.
+ */
 class SecureAdminPathSettingsForm extends ConfigFormBase {
 
   use StringTranslationTrait;
 
   /**
-   * @var Config
+   * The Secure Admin Path configuration object.
+   *
+   * @var \Drupal\secure_admin_path\Config
    */
   private $config;
 
   /**
-   * @var RouteBuilderInterface
+   * The route builder.
+   *
+   * @var \Drupal\Core\Routing\RouteBuilderInterface
    */
   private $routeBuilder;
 
   /**
-   * {@inheritdoc}.
-   */
-  public function getFormId(): string {
-    return 'secure_admin_path_settings_form';
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  protected function getEditableConfigNames(): array {
-    return [
-      Config::CONFIG_KEY,
-    ];
-  }
-
-  /**
-   * @param Config $config
-   * @param RouteBuilderInterface $routeBuilder
-   * @param TranslationInterface $stringTranslation
+   * Constructs a new SecureAdminPathSettingsForm object.
+   *
+   * @param \Drupal\secure_admin_path\Config $config
+   *   The Secure Admin Path configuration object.
+   * @param \Drupal\Core\Routing\RouteBuilderInterface $routeBuilder
+   *   The route builder.
+   * @param \Drupal\Core\StringTranslation\TranslationInterface $stringTranslation
+   *   The string translation service.
    */
   public function __construct(
     Config $config,
@@ -57,9 +53,7 @@ class SecureAdminPathSettingsForm extends ConfigFormBase {
   }
 
   /**
-   * @param ContainerInterface $container
-   *
-   * @return static
+   * {@inheritdoc}
    */
   public static function create(ContainerInterface $container): self {
     return new static(
@@ -70,7 +64,23 @@ class SecureAdminPathSettingsForm extends ConfigFormBase {
   }
 
   /**
-   * {@inheritdoc}.
+   * {@inheritdoc}
+   */
+  public function getFormId(): string {
+    return 'secure_admin_path_settings_form';
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function getEditableConfigNames(): array {
+    return [
+      Config::CONFIG_KEY,
+    ];
+  }
+
+  /**
+   * {@inheritdoc}
    */
   public function buildForm(array $form, FormStateInterface $form_state) {
     $form['admin_path'] = [
@@ -128,9 +138,11 @@ class SecureAdminPathSettingsForm extends ConfigFormBase {
    * Form element validation handler.
    *
    * @param array $element
-   * @param FormStateInterface $formState
+   *   The form element.
+   * @param \Drupal\Core\Form\FormStateInterface $formState
+   *   The form state.
    */
-  public function validate(&$element, FormStateInterface $formState) {
+  public function validate(array &$element, FormStateInterface $formState) {
     if (empty($element['#value'])) {
       $formState->setError(
         $element,
@@ -162,18 +174,21 @@ class SecureAdminPathSettingsForm extends ConfigFormBase {
   public function submitForm(array &$form, FormStateInterface $formState) {
     $this->saveConfiguration($formState);
 
-    // at this stage we rebuild all routes to use the new renamed paths
+    // At this stage we rebuild all routes to use the new renamed paths.
     $this->routeBuilder->rebuild();
 
-    // add confirmation message
+    // Add confirmation message.
     parent::submitForm($form, $formState);
 
-    // make sure we end up at the same form again using the new path
+    // Make sure we end up at the same form again using the new path.
     $formState->setRedirect('secure_admin_path.admin');
   }
 
   /**
-   * @param FormStateInterface $formState
+   * Saves the configuration.
+   *
+   * @param \Drupal\Core\Form\FormStateInterface $formState
+   *   The form state.
    */
   private function saveConfiguration(FormStateInterface $formState) {
     $this->config->setPathEnabled('admin', $formState->getValue('admin_path'));
@@ -188,4 +203,5 @@ class SecureAdminPathSettingsForm extends ConfigFormBase {
     );
     $this->config->save();
   }
+
 }
diff --git a/src/Form/SecureAdminPathValidator.php b/src/Form/SecureAdminPathValidator.php
index 5bba15c..793ea0a 100644
--- a/src/Form/SecureAdminPathValidator.php
+++ b/src/Form/SecureAdminPathValidator.php
@@ -4,27 +4,32 @@ namespace Drupal\secure_admin_path\Form;
 
 use Drupal\secure_admin_path\EventSubscriber\SecureAdminPathEventSubscriber;
 
+/**
+ * Provides validation methods for secure admin path values.
+ */
 class SecureAdminPathValidator {
 
   /**
-   * Force path replacement values to contain only lowercase letters, numbers,
-   * and underscores.
+   * Validates the path value for lowercase letters, numbers, and underscores.
    *
    * @param string $value
+   *   The path value to validate.
    *
-   * @return boolean
+   * @return bool
+   *   TRUE if the path value is valid, FALSE otherwise.
    */
   public static function isValidPath(string $value): bool {
     return (bool) preg_match('~^[a-zA-Z0-9_-]+$~', $value);
   }
 
   /**
-   * Verify users not overwriting with the default path names, could lead to
-   * broken routes
+   * Checks if the path value is one of the default admin paths.
    *
    * @param string $value
+   *   The path value to check.
    *
    * @return bool
+   *   TRUE if the path value is a default admin path, FALSE otherwise.
    */
   public static function isDefaultPath(string $value): bool {
     return in_array(
@@ -32,4 +37,5 @@ class SecureAdminPathValidator {
       SecureAdminPathEventSubscriber::ADMIN_PATHS
     );
   }
+
 }
