<?php
require 'C:\Users\MMA\Desktop\www1\vendor\autoload.php';
$app = require_once 'C:\Users\MMA\Desktop\www1\bootstrap\app.php';
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
echo 'Songs: ' . App\Song::count() . PHP_EOL;
echo 'With slug: ' . App\Song::whereNotNull('slug')->where('slug', '!=', '')->count() . PHP_EOL;
$song = App\Song::first();
if ($song) {
    echo 'First song: ' . $song->title . ' / ' . $song->slug . ' / ' . $song->created_at . PHP_EOL;
}
