PHP code example of discountkitchenfactory / core

1. Go to this page and download the library: Download discountkitchenfactory/core 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/ */

    

discountkitchenfactory / core example snippets


/opt/plesk/php/7.1/bin/php bin/magento maintenance:enable
/opt/plesk/php/7.1/bin/php /usr/lib64/plesk-9.0/composer.phar clear-cache
/opt/plesk/php/7.1/bin/php /usr/lib64/plesk-9.0/composer.phar  bin/magento setup:static-content:deploy en_US en_GB
/opt/plesk/php/7.1/bin/php bin/magento cache:clean && sudo apachectl restart && sudo nginx -s reload
chmod -R -v 777 var/* pub/*
/opt/plesk/php/7.1/bin/php bin/magento cache:enable
/opt/plesk/php/7.1/bin/php bin/magento maintenance:disable

/opt/plesk/php/7.1/bin/php bin/magento maintenance:enable
/opt/plesk/php/7.1/bin/php /usr/lib64/plesk-9.0/composer.phar clear-cache
/opt/plesk/php/7.1/bin/php /usr/lib64/plesk-9.0/composer.phar update discountkitchenfactory/core
/opt/plesk/php/7.1/bin/php bin/magento setup:upgrade
rm -rf var/cache generated/code && /opt/plesk/php/7.1/bin/php bin/magento setup:di:compile
rm -rf pub/static/* && /opt/plesk/php/7.1/bin/php bin/magento setup:static-content:deploy en_US en_GB
/opt/plesk/php/7.1/bin/php bin/magento cache:clean && sudo apachectl restart && sudo nginx -s reload
chmod -R -v 777 var/* pub/*
/opt/plesk/php/7.1/bin/php bin/magento cache:enable
/opt/plesk/php/7.1/bin/php bin/magento maintenance:disable