PHP code example of chameleon2die4 / wpbones-extend

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

    

chameleon2die4 / wpbones-extend example snippets


    $this->create("your_table", function (Blueprint $table){
        $table->id();
        $table->integer('user_id')->nullable();
        $table->string('name');
        $table->string('link')->nullable();
    });