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
    1
    2
    30
    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

      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 Reply Quote 0
      • O
        omerozdiyar @omerozdiyar last edited by

        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
        • First post
          Last post