title: kartik\datecontrol\DateControl not found
body: <p>I've used <a href="https://github.com/mootensai/yii2-enhanced-gii" rel="nofollow noreferrer">mootensai/yii2-enhanced-gii</a> and they said I should add this code at <code>config\main.php</code>:</p>
  
  <pre><code>'modules' =&gt; [
  
    'gridview' =&gt; [
        'class' =&gt; '\kartik\grid\Module',
        // see settings on http://demos.krajee.com/grid#module
    ],
    'datecontrol' =&gt; [
        'class' =&gt; '\kartik\datecontrol\Module',
        // see settings on http://demos.krajee.com/datecontrol#module
    ],
    // If you use tree table
    'treemanager' =&gt;  [
        'class' =&gt; '\kartik\tree\Module',
        // see settings on http://demos.krajee.com/tree-manager#module
    ]
  
  ],
  </code></pre>
  
  <p>I am using Yii2 Basic so I add it to <code>config/web.php</code> like below </p>
  
  <pre><code>  'components' =&gt; [
    // some code here !
  ],
  
  'modules' =&gt; [
  
            'gridview' =&gt; [
                'class' =&gt; '\kartik\grid\Module',
            ],
            'datecontrol' =&gt; [
                'class' =&gt; '\kartik\datecontrol\Module',
            ],
  
            'treemanager' =&gt;  [
                'class' =&gt; '\kartik\tree\Module',
            ]
  
          ],
  </code></pre>
  
  <p>So when I run the generated code from Gii it gives me the code for date filed like this: </p>
  
  <pre><code>&lt;?= $form-&gt;field($model, 'regester_end_date')-&gt;widget(\kartik\datecontrol\DateControl::classname(), [
      'type' =&gt; \kartik\datecontrol\DateControl::FORMAT_DATE,
      'saveFormat' =&gt; 'php:Y-m-d',
      'ajaxConversion' =&gt; true,
      'options' =&gt; [
          'pluginOptions' =&gt; [
              'placeholder' =&gt; Yii::t('app', 'Choose Regester End Date'),
              'autoclose' =&gt; true
          ]
      ],
  ]); ?&gt;
  </code></pre>
  
  <p>When I run my form, it gives me a problem that says <code>Class 'kartik\datecontrol\DateControl' not found</code>. I updated the composer and I install the the kartik widgets and there is nothing happens  </p>