Question By
Unsolved

Wave customisation

matthewgribben

Jul 27th, 2021 04:07 AM

If I want to modify Wave to suit my use case (in this instance I want to make it support multi tenancy) what is the correct way to do this? Do I just modify the code in the wave/ directory? or is there a way to override that code with my own to maintain update compatibility?

bobbyiliev

Jul 27th, 2021 04:31 AM

Hi there,

I would personally try to avoid any changes to the Wave directory so that in the future you could follow the upgrade instructions as described in the docs here:

Laravel Wave upgrade instructions

Regards,

Bobby

matthewgribben

Jul 27th, 2021 04:42 AM

So what is the correct way to modify wave then?

bobbyiliev

Jul 27th, 2021 08:01 AM

If you are adding some extra functionality you could just add normally as with any Laravel project.

However if you are undertaking a huge customization step and planning to change the core functionality, then changing the core files might be inevitable.