feat: Initialize core application structure including authentication, role-based dashboards, service task management, and integration workflows.
This commit is contained in:
12
debug_users.php
Normal file
12
debug_users.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
require __DIR__.'/vendor/autoload.php';
|
||||
$app = require_once __DIR__.'/bootstrap/app.php';
|
||||
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
||||
$kernel->bootstrap();
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
$users = User::all();
|
||||
foreach ($users as $user) {
|
||||
echo "User: " . $user->name . " | Email: " . $user->email . " | Roles: " . $user->getRoleNames()->implode(', ') . PHP_EOL;
|
||||
}
|
||||
Reference in New Issue
Block a user