Split files, use OOP & set 1 phar archive
1 PHP file to cleanly share your public documents on the web
                
                Brought to you by:
                
                    pixeye
                    
                
            
            
        
        
        
    In order to get cleaner code & be easier to update & maintain, I think it would be better to split the file into several files with object oriented programming.
It would be better to get separated CSS file(s) as well.
Then, in order to stay easy to install, merge the files into one archive using the phar format.