PHP code example of jlourenco / support

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

    

jlourenco / support example snippets

 php
Schema::create('TestingTable', function (Blueprint $table) {
    $table->increments('id');
    $table->string('name', 25);
    $table->string('description', 150)->nullable();
    $table->timestamps();
    $table->creation();
});

Schema::table('TestingTable', function (Blueprint $table) {
    $table->creationRelation();
});