PHP code example of langleyfoxall / helpers-laravel
1. Go to this page and download the library: Download langleyfoxall/helpers-laravel 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/ */
langleyfoxall / helpers-laravel example snippets
public function up()
{
Schema::create('demos', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->timestamps();
});
}
class Demo extends Model
{
use IdentifiedByUUID;
}