Have you encountered a problem that you want to work the control panel for Admin quickly without consuming your time now you can do it with the larvelcode-panel Now you can work without wasting your valuable time We help you make a control panel one click
first you setup laravel framwork by enter this :-
composer create-project --prefer-dist laravel/laravel blog
Remove word blog and write your folder project name.
1- rename server.php to index.php.
2- copy .htaccess from public directory to your larvel project main directory i mean in your larvel project directory .
Using Composer
composer require larvelcode/panel:dev-master
Add the service provider to config/app.php
Collective\Html\HtmlServiceProvider::class,
Codecourse\Notify\NotifyServiceProvider::class,
larvelcode\panel\LaravelPanelProvider::class,
add to aliases
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
'Notify' => Codecourse\Notify\Facades\Notify::class,
open app/Http/kernal.php on protected $routeMiddleware add this
'admin' =>\App\Http\Middleware\IsAdmin::class,
add to app/provider/AuthServiceProvider
protected $policies = [
'App\User' => 'App\Policies\UserPolicy',
];
From your application, in your controller.
php artisan storage:link
php artisan make:auth
php artisan vendor:publish
php artisan make:migrate
and then press 0 to copy all files in directory
now you adminpanel ready to start go to :-
http://your-host/adminpanel
your username Email is:- [email protected] password:- 123456 change your-host with your host or localhost if you are in local environment.