project lumen-base
        The Laravel Lumen Framework with nukacode.
    
            
                
                    
                    
                    
                    
                        
                            
    
        
        
            nukacode/lumen-base
            The Laravel Lumen Framework with nukacode.
         
     
    
        
            -  Tuesday, May 12, 2015
 
                                -  by stygiansabyss
 
                            -  Repository
 
            -  4 Watchers
 
            -  3 Stars
 
            -  402 Installations
 
        
     
    
        
                            - PHP
 
            
            -  0 Dependents
 
            -  0 Suggesters
 
            -  0 Forks
 
            -  0 Open issues
 
            -  3 Versions
 
            -  0 % Grown
 
        
     
 
    
        
            
    
    
    
General Lumen changes
- Facades, Eloquent and DotEnv are enabled.  Comment the lines in 
bootstrap/app.php out if you don't need them. 
- Configs folder added.  If you want to add a config file, look to Lumen Docs.
 
- 
app/Http/routes.php contains a /status route that will return a 200 response with JSON "ok". 
Models
- All models return collections as an instance of 
App\Support\Collection. 
- All models can now tap 
->hashId to get a hashed version of it's id. 
- All models now have 
findHash().  This works the same as find() but expects the hashed id. 
- All models are expected to set a 
HASH_ID constant.  This will be the models salt.
- This is checked in the 
BaseModel constructor and will throw an exception if it's not found. 
 
    <?php namespace App\Transformers;
    use App\Models\Video;
    class VideoTransformer extends BaseTransformer {
    public function transform(Video $video)
    {
        return [
            'id' => $video->hashId
        ];
    }
    }
         
     
 
    
        
            
                                    
                        
                        
                        
                            dev-master
                            9999999-dev
                                                        
                                The Laravel Lumen Framework with nukacode.
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                                    The Development Requires
                                    
                                                            
                            
                                
                            
                            
                                                                    laravel
                                                                    framework
                                                                    lumen
                                
                            
                         
                     
                                    
                        
                        
                        
                            1.0.1
                            1.0.1.0
                                                        
                                The Laravel Lumen Framework with nukacode.
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                                    The Development Requires
                                    
                                                            
                            
                                
                            
                            
                                                                    laravel
                                                                    framework
                                                                    lumen
                                
                            
                         
                     
                                    
                        
                        
                        
                            1.0.0
                            1.0.0.0
                                                        
                                The Laravel Lumen Framework with nukacode.
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                                    The Development Requires
                                    
                                                            
                            
                                
                            
                            
                                                                    laravel
                                                                    framework
                                                                    lumen