This A beutiful web admin develop for Laravel Framework. It's have so many screens. components, managable menus, and auto dark modes included.
- Installation process
- First initiate or Create New Laravel Project
- Then Open the project in terminal.
- then put the command
composer require shibaji/admin
- Setup the database connection in your new laravel project.
- Install Laravel UI package is already included with this Admin Panel.
- Setup Admin panel by Admin Command
php artisan admin:install
- Create Auth scaffold using the artisan command
php artisan ui:auth
- Don't replace any preloaded resources.
The [auth/login.blade.php] view already exists. Do you want to replace it? (yes/no) [no]: no
The [auth/passwords/confirm.blade.php] view already exists. Do you want to replace it? (yes/no) [no]: no
The [auth/passwords/email.blade.php] view already exists. Do you want to replace it? (yes/no) [no]: no
Like this put no
every required questions.
- Now Setup the database connection in
.env
file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=<DB_NAME>
DB_USERNAME=<DB_USER>
DB_PASSWORD=<DB_PASSWORD>
- Open Terminal from the project. And write the Codes.
php artisan migrate
- Open browser tab with this url
http://localhost:8000
. - After open register an user.
- After login go to
http://localhost:8000/admin
.
By default, the module classes are not loaded automatically. You can autoload your modules using psr-4. For example:
{
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
}
}
}
Tip: don't forget to run composer dump-autoload
afterwards.
Now you can see this admin.
Lets Enjoy! :)