slappyslap/soon-bundle
Soon Bundle provides a simple "coming soon" and maintenance mode page for Symfony applications, letting you take a site offline while you build, with a customizable splash page shown to visitors and easy toggling between live and launch states.
composer require <vendor>/<package>.php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider" --tag=config
(Check the README for the exact --tag; some packages tag it config, others package-config.)config/<package>.php and set the options you need (credentials, driver, table names, etc.). The template documents each key with inline comments.If you're upgrading from v1.0.0, the package may now expect config keys that didn't exist before — publish the template so the config is complete, then diff it against anything you'd already configured.
.env. Treat the published config file as structure, not secrets. Keep the config file in the repo, drive environment-specific values through env() calls inside it.config/<package>.php over subclassing or monkey-patching. The config template is the intended extension point.register()/boot(), merge or override config values before the package boots if you need programmatic control:
$this->mergeConfigFrom(base_path('config/<package>.php'), '<package>');
setUp() with config()->set('<package>.key', $value) rather than mutating the published file. This keeps tests isolated and fast.config()->set(...)) scoped to the request or job, then restore in a finally block.vendor:publish in production deploys — it can overwrite operator edits.vendor:publish is non-destructive by default. It won't overwrite an existing config file. Use --force deliberately, and diff before doing so — the v1.0.1 template may rename or remove keys.config:cache and env(). Once you run php artisan config:cache, env() only resolves inside config files. Keep all environment reads in config/<package>.php, never in application code that consumes the package.null for new keys. Republish (or copy the new keys manually) if behavior looks off.vendor:publish without --tag publishes everything from every provider, which is noisy and can overwrite unrelated config. Always pin the provider or tag.php artisan config:clear after editing the file and you'll debug a stale value — check this first.php artisan tinker → config('<package>') shows the live resolved array. Do this before anything else when setup appears broken.How can I help you explore Laravel packages today?