PHP code example of astrodistribution / core

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

    

astrodistribution / core example snippets


bin/magento maintenance:enable
php ./composer.phar clear-cache
php ./composer.phar setup:di:compile
rm -rf pub/static/*
bin/magento setup:static-content:deploy \
	--area adminhtml \
	--theme Magento/backend \
	-f en_US en_GB
bin/magento setup:static-content:deploy \
	--area frontend \
	--theme Smartwave/porto \
	-f en_US en_GB
bin/magento maintenance:disable
bin/magento cache:enable

bin/magento maintenance:enable
php ./composer.phar remove astrodistribution/core
php ./composer.phar clear-cache
composer n/magento setup:static-content:deploy \
	--area adminhtml \
	--theme Magento/backend \
	-f en_US en_GB
bin/magento setup:static-content:deploy \
	--area frontend \
	--theme Smartwave/porto \
	-f en_US en_GB
bin/magento maintenance:disable
bin/magento cache:enable