Laravel-Pagebuilder
Laravel-Pagebuilder copied to clipboard
Ability not to install DB configs
Auto merge config from config/database.
Can use for DB in config/pagebuilder only:
'storage' => [
'use_database' => false,
'database' => [
'driver' => 'mysql',
'prefix' => 'pagebuilder__',
],
'uploads_folder' => storage_path('app/PageBuilder/uploads')
],
What was exactly the issue that is fixed by this PR?
The problem of the need to duplicate the database parameters in the pagebuilder's config. At the moment I am only setting up the library - but this is the first thing that I saw from the inconvenient.
We are not duplicating it right? In the pagebuilder config it just calls the env()
helper method. However I agree it makes the config a bit clearer when hiding it in the Laravel version of this pagebuilder. I will test it and merge later on. Thanks for your PR.