当前位置:网站首页>A laravel background management expansion package you can't miss - Voyager

A laravel background management expansion package you can't miss - Voyager

2022-07-07 14:33:00 Full stack programmer webmaster

1、 brief introduction

Voyager It's one you can't miss Laravel Background management expansion pack , Provides CRUD operation 、 Media management 、 Menu construction 、 Data management and other operations .

Official website :https://the-control-group.github.io/voyager/

Github:https://github.com/the-control-group/voyager

Video demo :https://devdojo.com/episode/laravel-admin-package-voyager

2、 Install and use

Finished creating new Laravel After application, you can use the following command to import Voyager Expansion pack, :

composer require tcg/voyager

Next, create a new database and add the database authentication information to .env file :

DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

Then register Voyager Service provider and image processing service to configuration file config/app.php Of providers Array :

TCG\Voyager\VoyagerServiceProvider::class,
Intervention\Image\ImageServiceProvider::class,

Last , We can install it with the following command Voyager:

php artisan voyager:install

After installation , You can enter the background to check the effect . The simplest way is to run in the root directory of the project php artisan serve, It is then accessed in a browser http://localhost:8000/admin, In this way, you can enter the login authentication page , We can use the following demo account :

email: [email protected]
password: password

Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/113263.html Link to the original text :https://javaforall.cn

原网站

版权声明
本文为[Full stack programmer webmaster]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071236581733.html