Just installed a fresh laravel 5.5 + latest voyager install but goot this error on terminal after trying to add user
install laravel + voyager and try : php artisan voyager:admin [email protected]
Do you have a model class at app/User.php?

Just tested the same thing on my machine and I'm unable to reproduce it. Make sure you're in the right directory and try composer dump-autoload.
Happened for me when I installed without dummy data. Installing over installation using the --with-dummy flag fixes the issue. Steps to reproduce the issue:
1.) Create new Laravel
2.) Require Voyager
3.) Set up .env to DB
4.) Don't migrate
5.) Attempt install (without dummy)
6.) If successful, now try adding admin user, see 7.) if unsuccessful
7.) Rename Laravel migration file dates to earlier years (or at least months) php artisan migrate:status will show you that the batch might be too early on some Voyager migrations in reference to core Laravel migrations.
Had same issue here, forgot the --create at the end!
php artisan voyager:admin [email protected] --create
Had same issue here, forgot the --create at the end!
php artisan voyager:admin [email protected] --create
yes. it works :)
when i write the commande php artisan voyager:admin [email protected] --create
i go t this error
Enter the admin name:
>
Aborted.
please help
This has been closed for 2 years and was for a MUCH older version. Please ask questions in slack instead
Most helpful comment
Had same issue here, forgot the --create at the end!
php artisan voyager:admin [email protected] --create