PHP code example of thelia / available-default-product-module

1. Go to this page and download the library: Download thelia/available-default-product-module 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/ */

    

thelia / available-default-product-module example snippets


DATABASE_HOST=<host> DATABASE_PORT=<port> DATABASE_NAME=availabledefault_test DATABASE_USER=<user> DATABASE_PASSWORD=<password> php bin/test-prepare
DATABASE_HOST=<host> DATABASE_PORT=<port> DATABASE_NAME=availabledefault_test DATABASE_USER=<user> DATABASE_PASSWORD=<password> KERNEL_CLASS=App\Kernel vendor/bin/phpunit --bootstrap vendor/thelia/modules/AvailableDefaultProduct/Tests/bootstrap.php vendor/thelia/modules/AvailableDefaultProduct/Tests