PHP code example of se7enxweb / eztags

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

    

se7enxweb / eztags example snippets

ini
   [ExtensionSettings]
   ActiveExtensions[]=eztags
   
bash
   php bin/php/ezsqlinsertschema.php --type=mysql --user=<user> --password=<password> \
       extension/eztags/share/db_schema.dba <database>
   
bash
   php bin/php/ezpgenerateautoloads.php --extension
   php bin/php/ezcache.php --clear-all
   
apache
   RewriteRule tags/treemenu/? index_treemenu_tags.php
   RewriteRule ^index_treemenu_tags\.php - [L]
   
xml
   <field name="ezf_df_tags" type="lckeyword" indexed="true" stored="true" multiValued="true" termVectors="true"/>
   <field name="ezf_df_tag_ids" type="sint" indexed="true" stored="true" multiValued="true" termVectors="true"/>
   
bash
php extension/eztags/bin/php/convertezkeyword.php \
    --from-attr-id=123 --to-attr-id=456 --parent-tag-id=42