PHP code example of rioagungpurnomo / dcobwebs

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

    

rioagungpurnomo / dcobwebs example snippets




use Rioagungpurnomo\Dcobwebs\Dcobwebs;

Dcobwebs::add('users', ['name', 'bio']);

Dcobwebs::table(table)->create(array);

Dcobwebs::table(table)->update(id, array);

Dcobwebs::table(table)->delete(id);

Dcobwebs::table(table)->count();

Dcobwebs::table(table)->find(id);

Dcobwebs::table(table)->where(field, value);

Dcobwebs::table(table)->all();

Dcobwebs::table(table)->asc(field);

Dcobwebs::table(table)->desc(field);

Dcobwebs::add(name, array);

Dcobwebs::list();

Dcobwebs::remove(table);

Dcobwebs::rename(old_name, new_name);

Dcobwebs::calculate();

Dcobwebs::table(table)->create_field(array);

Dcobwebs::table(table)->delete_field(field);

Dcobwebs::table(table)->list_field();

Dcobwebs::encrypt(plaintext, key, iv);

Dcobwebs::decrypt(ciphertext, key, iv);