Answer the question
In order to leave comments, you need to log in
How to install Voyager admin (Laravel)?
I'm new to lara, I don't seem to understand something.
Here is the instructions for installing voyager
https://github.com/the-control-group/voyager
It is clear that you first need to install Laravel itself, ok, I am creating a blog project
composer create-project --prefer-dist laravel/laravel blog
composer require tcg/voyager
php artisan voyager:install
composer global require laravel/installer
Answer the question
In order to leave comments, you need to log in
In short, almost everything is a bit wrong:
1. In the installation doc you say: After creating your new Laravel application you can include the Voyager package with the following command:
This command needs to be run in your laravel project folder, in your case blog
2 In the same blog folder, you need a configured .env file, if it is not there, you just need to copy .env.example and save it under the name .env, edit the connection to the database and other parameters you need in it and everything will go fine.
3.
composer global require laravel/installerand why do you need this? You installed it anyway, it's just another way to create a project.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question