laravel-dropbox
                                
                                
                                
                                    laravel-dropbox copied to clipboard
                            
                            
                            
                        How to load API credentials from DB instead of env file?
I am working on a SAAS application where I want each user to use their own dropbox. For that I want to give them option in his profile settings to enter drop box API credentials. And list all documents on their dashboard after they login.
Is it possible? How? Can you suggest me how to achieve this?
Thanks Prashant
This issue is more of a higher level issue you want to consider rather than at a package level.
I have seen this method applied before which uses a middleware when a client is logged in - and they set the config values on the fly to the values from the database.