larvelcode/panel

larvel Adminpanel

dev-master 2018-08-14 15:33 UTC

This package is auto-updated.

Last update: 2024-05-22 03:58:57 UTC


README

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

Install

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.

Note:- you must make laravel like in real server i give you an example:-

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',
    ];

Usage

Basic

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:- admin@domain.com password:- 123456 change your-host with your host or localhost if you are in local environment.