PHP code example of pm4life / cmsinstaller

1. Go to this page and download the library: Download pm4life/cmsinstaller library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pm4life / cmsinstaller example snippets


composer magento setup:upgrade

php bin/magento config:set cms/installer/is_enabled 1

php bin/magento cms:installer:apply

php bin/magento cms:installer:rebuild-url-rewrites