MultiLangage Menu for vreyz/smartadmin-laravel
vreyz/smartadmin-language is a Laravel package for multilangage menu for vreyz/smartadmin-laravel.
It currently has 0 GitHub stars and 7 downloads on Packagist (latest version v1.0.2).
Install it with composer require vreyz/smartadmin-language.
Discover more Laravel packages by vreyz
or browse all Laravel packages to compare alternatives.
Last updated
First, install laravel, and make sure that the database connection settings are correct.
composer require vreyz/smartadmin-laravel --dev
php artisan vendor:publish --provider="Vreyz\Admin\AdminServiceProvider"
After run command you can find config file in config/admin.php, in this file you can change the install directory,db connection or table names.
APP_URL=http://localhost/[your_laravel_project_name]
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=[your_database]
DB_USERNAME=[your_database_username]
DB_PASSWORD=[your_database_password]
router/web.php/*
* Route::get('/', function () {
* return view('welcome');
* });
/*
config/filesystems.php'disks' => [
//add code below
'admin' => [
'driver' => 'local',
'root' => public_path('uploads'),
'url' => env('APP_URL').'/public/uploads', //must be same with upload because use one logic to store data
'visibility' => 'public',
],
],
php artisan admin:install
Open http://localhost/[your_laravel_project_name] in browser,use username admin and password admin to login.