Support the ongoing development of →
posted 10 years ago
Last updated 2 years ago.

Why not just give them the option to publish config files (in app/config), and they can specify their path to the certificates there? The user placing files inside your package would be an anti-pattern because when you update your package and they run composer update their certificates will be wiped out.

php artisan config:publish vendor/package

You can access their values here using:


Basically you don't need the path there because you can use Config::get() to access any values there, but if you wanted to know it, it would be:

app_path() . "/config/packages/vendor/package"
Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.