PHP code example of dmstr / lajax-yii2-translate-manager-addons

1. Go to this page and download the library: Download dmstr/lajax-yii2-translate-manager-addons 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/ */

    

dmstr / lajax-yii2-translate-manager-addons example snippets


   'translatemanager' => [
      'tables' => [
          [
              'connection' => 'db',
              'table' => 'example_table_name',
              'columns' => ['column0','column1']
          ]
          // Insert your own tables and column names as in the example above.
      ],
      'scanners' => [
          lajax\translatemanager\services\scanners\ScannerPhpFunction::class,
          lajax\translatemanager\services\scanners\ScannerPhpArray::class,
          lajax\translatemanager\services\scanners\ScannerJavaScriptFunction::class,
          dmstr\lajax\translatemanager\services\scanners\ScannerDatabase::class
      ]
   ]

php composer.phar