Releases  
      1.1.2  
   
 
  
  
        
  
  
                    
  
      
    Compare 
      
          
     
 
       
   
 
    
            
        
           
          
            
                
  
                  
                    
                    
                        
                          
     
 
                          Sorry, something went wrong. 
                         
                     
 
  
              
            
              
No results found 
            
          
       
    
 
   
 
  
        Breaking changes 
RouterRessources has been renamed to RouterResource. 
SimpleRouter::ressource has been renamed to SimpleRouter::resource. 
 
Changelog 
Fixed middleware not loading and giving "class must be instance of Middleware" exception. 
Added basic auth to Response class. 
Added getPassword() method for basic auth password in Response class. 
Fixed router not throwing RouterException with "Method not allowed" when using a unsupported request method. 
Method request type are now checked on all classes in the RouterBase class. 
Added support for alias on RouterRoute. 
Added typo in resource (renamed class from Ressource to Resource). 
Added optional settings parameter in most of the methods in the SimpleRouter class. 
Urls now always returns ending slash when using getRoute() method. 
Fixed common errors with routing. 
Simplified getRoute method. 
Updated documentation. 
  
 
  
  
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.