Skip to content

Aero Commerce Tinker

Admin Management

php
# List all Admin Users
\Aero\Admin\Models\Admin::all()->pluck('email');

# Set an Admin password
$user = \Aero\Admin\Models\Admin::where('email', '[email protected]')->firstOrFail();
$user->setPasswordAttribute('Password123!');
$user->save();