asqard  
          
              
                January 3, 2015,  8:24am
               
              1 
           
         
        
          Witam kolegów, właśnie postanowiłem się przesiąść na Yii2 i już pojawił się dziwny problem nauczyłem się korzystać z narzędzia gii które chyba nie do końca dobrze działa, generowanie modeli super 1 klasa to już z crud jest ciężej nie idzie za diabła wykonać.
Może jest gdzieś jakiś tutorial jak korzystać i jak działa w Yii2.0
         
        
           
         
            
       
      
        
          
          
            rob006  
          
              
                January 3, 2015,  9:47am
               
              2 
           
         
        
          Sprawdzałeś dokumentację?
  
  
    
Generating Code with Gii
========================
This section will describe how to use [Gii](https://www.yiiframework.com/extension/yiisoft/yii2-gii/doc/guide) to automatically generate code
that implements some common Web site features. Using Gii to auto-generate code is simply a matter of entering the right information per the instructions shown on the Gii Web pages.
Through this tutorial, you will learn how to:
* enable Gii in your application,
* use Gii to generate an Active Record class,
* use Gii to generate the code implementing the CRUD operations for a DB table,
* customize the code generated by Gii.
Starting Gii <span id="starting-gii"></span>
------------
[Gii](https://www.yiiframework.com/extension/yiisoft/yii2-gii/doc/guide) is provided in Yii as a [module](structure-modules.md). You can enable Gii
by configuring it in the [[yii\base\Application::modules|modules]] property of the application. Depending upon how you created your application, you may find the following code is already provided in the `config/web.php` configuration file:
show original 
   
  
    
    
  
  
 
         
        
           
         
            
       
      
        
          
          
            fcom  
          
              
                January 3, 2015, 10:55pm
               
              3 
           
         
        
          Wszystko ładnie działa - tylko musisz dopisać ścieżkę - głównie tym się to różni w stosunku do wcześniejszej wersji. W linku wyżej są dobre przykłady 
         
        
           
         
            
       
      
        
          
          
            asqard  
          
              
                January 4, 2015, 12:43pm
               
              4 
           
         
        
          dziękuję bardzo właśnie tu leżałem gdyż się zastanawiałem czemu nie generuje mi kontrolera, ale już się zapoznaję z dokumentacją i biorę się do pracy