PHP code example of black-lamp / blcms-payment

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

    

black-lamp / blcms-payment example snippets


php composer.phar 

'components' => [
    'shop_imagable' => [
        'class' => 'bl\imagable\Imagable',
        'imageClass' => \backend\components\imagable\CreateImageImagine::className(),
        'nameClass' => 'backend\components\imagable\CRC32Name',
        'imagesPath' => '@frontend/web/images',
        'categories' => [
            'origin' => false,
            'category' => [
                'payment' => [
                    'origin' => false,
                    'size' => [
                        'big' => [
                            'width' => 1500,
                            'height' => 500
                        ],
                        'thumb' => [
                            'width' => 500,
                            'height' => 500,
                        ],
                        'small' => [
                            'width' => 150,
                            'height' => 150
                        ]
                    ]
                ],
            ],
        ],
    ],
],