Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge default config with user config #284

Conversation

bahramsadin
Copy link
Contributor

بر اساس مستندات لاراول (https://laravel.com/docs/10.x/packages#default-package-configuration) برای اینکه کاربر این امکان رو داشته باشه که فقط مقادیری از فایل کانفیگ رو که نیاز داره بتونه overwrite کنه این متد اضافه شد
مثلا با این تغییر کاربر امکان تعریف کانفیگ فقط به صورت زیر رو داره

<?php

return [
    'default' => 'zarinpal',
];

@khanzadimahdi khanzadimahdi merged commit 6cb5683 into shetabit:master Jun 25, 2023
@bahramsadin bahramsadin deleted the merge-default-config-with-user-config branch June 25, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants