sabindice / com_startcomponent-cli
A CLI script for easy converting Joomla 3 to Joomla 4 components (frontend)
v1.0.0
2022-12-21 12:50 UTC
Requires
- php: >=8.0.0
This package is auto-updated.
Last update: 2024-05-04 16:31:19 UTC
README
This is a CLI in PHP that will convert a Joomla 3 component to Joomla 4
Run Locally
Clone the project or download the latest version
git clone https://github.com/sabindice/joomla4-startComponentCLI
Go to the project directory find copyFile.php and replace this lines:
$companyNameSpace = 'StartCompany'; $componentName = 'componentName'; //like content/contact/users $sourcePath = '/Users/USER/DEVELOPER/project/components/';
After you replace them you run
php copyFile.php
and wait for the script to finish.