• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

providers key missing in config/app.php on Bagisto 2.3.1 – How to register a custom module?

Modules
2
3
168
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    omerozdiyar last edited by 16 May 2025, 18:48

    Hi,

    In Bagisto version 2.2.3, we used to register custom modules or packages by extending the providers array in config/app.php like this:

    'providers' => ServiceProvider::defaultProviders()->merge([
    Webkul\MyModule\Providers\MyModuleServiceProvider::class,
    ])->toArray(),

    However, after upgrading to Bagisto 2.3.1, I noticed that the providers key is no longer present in the config/app.php file.

    So my question is:

    * What is the new recommended way to register custom modules or ServiceProviders?
    
    
    * Should we now use a different file or structure to register our custom providers?
    

    I couldn’t find any clear explanation in the documentation or release notes.

    Would appreciate any guidance or clarification.

    Thanks,

    O 1 Reply Last reply 16 May 2025, 18:51 Reply Quote 0
    • O
      omerozdiyar @omerozdiyar last edited by 16 May 2025, 18:51

      I encountered this issue while trying to install the Laravel Ajax Search Suggestion extension.
      https://store.webkul.com/laravel-ajax-search-suggestion.html
      Could you please help me understand how to properly install this extension on Bagisto version 2.3.1?

      1 Reply Last reply Reply Quote 0
      • C
        chokri last edited by 17 May 2025, 21:35

        changed to bootstrap/providers

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post