The MFC Converter automates the conversion from legacy, class-based Livewire components to modern, multi-file components available in Livewire 4. Using the MFC Converter to automatically convert your components has an estimated time savings of 1 hour.
While legacy, class-based Livewire components are still compatible in Livewire 4, they are no longer the convention. Livewire 4 uses single-file components (SFC) or multi-file components (MFC).
Shift provides the MFC Converter to modernize your legacy, class-based Livewire components. If you wish to adopt SFC, you may run Livewire's livewire:convert command to convert from MFC to SFC.
The MFC Converter automates the following conversions:
The MFC Converter attempts to read your Livewire configuration to determine component paths and filenames. If you have a complex configuration or unconventional project structure, Shift may fallback to Livewire defaults. If so, you may move the converted components to your own custom location.
Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.