You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🏠
Working from home
Abiruzzaman Molla
AbiruzzamanMolla
🏠
Working from home
Backend Developer +5y (Agentic Development, PHP | Laravel | JavaScript | Vuejs | jQuery | RESTful API | Version Control)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Understanding why it is important to update the menu in a restaurant is one of the most commercially significant questions a restaurant owner can ask and most do not ask it often enough. A menu is not a housekeeping document. It is a commercial instrument that controls food costs, communicates brand values, attracts new customers, reduces waste, and increases average spend.</p>
Do not subscribe to all services at once, as most have limited validity periods for their credits. We recommend testing them one by one, moving to the next only after your current credits are exhausted.
Register, verify your account, and claim your credits.
Follow the specific documentation on each site to configure your coding tools.
Keep your API keys secure and do not share them publicly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Paste this in your windows "C:\Program Files\Git\etc\profile.d"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quickly deploy mysql and phpMyAdmin with this docker compose file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I see, your scenario involves multiple layers of extensions to the PaymentMethodService class (e.g., first by PaymentGatewayService, then by BkashGatewayService), and you want to call PaymentMethodService but ensure that all of its extensions (including those applied by various service providers) are taken into account.
In Laravel, when you bind a class to the service container, it will always resolve the last binding unless you explicitly manage the resolution. This can cause issues when you have multiple extensions happening in different service providers, as each extension might overwrite the previous one in terms of the container's resolution behavior.
Solution: Dynamic Class Resolution Using Multiple Extensions
To handle multiple extensions without facing issues where a facade or the service container always resolves the final binding, here's a more dynamic approach:
Use Multiple Bindings: You can make the service container aware of all the extended classes (lik
To inject new code into your existing views when you install a new plugin in your Laravel application using Laravel Modules, you can follow these steps:
1. Create a Plugin Module
First, create a new module for your plugin using the Laravel Modules package. You can do this by running:
php artisan module:make MyPlugin
This will create a new module named MyPlugin in the Modules directory.