wikichua / simplecontrolpanel
A simple admin control panel for Laravel 6. Forked from kejodion/laravel-admin-panel
Requires
- artesaos/seotools: ^0.17.0
- erusev/parsedown: ^1.7
- justbetter/laravel-pagination-with-havings: ^1.2
- kalnoy/nestedset: ^5.0
- laravel/helpers: ^1.1
- laravel/socialite: ^4.3
- phpoffice/phpspreadsheet: ^1.9
- pusher/pusher-php-server: ^4.1
- rap2hpoutre/fast-excel: ^1.3
- rap2hpoutre/laravel-log-viewer: ^1.3
- tightenco/ziggy: ^0.8.0
- yajra/laravel-datatables: ^1.5
- yajra/laravel-datatables-oracle: ^9.6
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
- dev-master
- 3.4.2
- 3.4.1b
- 3.4.1a
- 3.4.0a
- 3.3.9
- 3.3.8
- 3.3.7
- 3.3.6
- 3.3.5
- 3.3.4
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.9
- 3.2.8
- 3.2.7
- 3.2.6
- 3.2.5
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.9
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.2.0
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- v2.1.0
- v2.0.2
- 2.0.1
- v2.0.0
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2024-10-26 07:26:03 UTC
README
Forked from GitHub
Laravel Admin Panel ("LAP") is a drop-in admin panel package for Laravel which promotes rapid scaffolding & development.
Features:
- More enhancement
Packages used:
- Laravel 5.7, 5.8 & Above
- Laravel Datatables
- Laravel Nestedset
- Parsedown
- SEOTools
- Log Viewer
- Fast Excel
Assets used:
- Custom admin panel layout (inspired by Nova)
- Bootstrap 4
- Datatables (with some tweaks for a better UX)
- FontAwesome 5
Installation
Require via composer:
composer require wikichua/simplecontrolpanel @dev
For Laravel 7.x
composer require laravel/ui
Publish install files:
php artisan vendor:publish --tag=lap.general
General install including:
- public
- lang
- layouts
- auth
- backend
- users
Publish advanced files (1 by 1):
php artisan vendor:publish --tag=lap.config
php artisan vendor:publish --tag=lap.seo.config
php artisan vendor:publish --tag=lap.public
php artisan vendor:publish --tag=lap.lang
php artisan vendor:publish --tag=lap.layouts
php artisan vendor:publish --tag=lap.auth.view
php artisan vendor:publish --tag=lap.backend.view
php artisan vendor:publish --tag=lap.users.view
Publish all migrations files:
php artisan vendor:publish --tag=lap.migrations
Publish all stubs files:
php artisan vendor:publish --tag=lap.stubs
Publish all views files:
php artisan vendor:publish --tag=lap.all.view
Publish admin route files:
php artisan vendor:publish --tag=lap.admin.route
Add the AdminUser
, DynamicFillable
, and UserTimezone
traits to your User
model:
use Wikichua\Simplecontrolpanel\Traits\AdminUser;
use Wikichua\Simplecontrolpanel\Traits\DynamicFillable;
use Wikichua\Simplecontrolpanel\Traits\UserTimezone;
class User extends Authenticatable
{
use Notifiable, AdminUser, DynamicFillable, UserTimezone;
Add this in your controller.php use \Wikichua\Simplecontrolpanel\Traits\Controller;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
use \Wikichua\Simplecontrolpanel\Traits\Controller;
Run the migrations:
php artisan migrate
Alternative installation:
Install laravel:
composer create-project laravel/laravel --prefer-dist appName
Create directories in terminal:
cd appName; mkdir packages; cd packages; mkdir wikichua; cd wikichua; git clone https://github.com/wikichua/simplecontrolpanel.git
Add this in your composer.json under scripts section:
"require-dev": {
"wikichua/simplecontrolpanel": "*"
},
"repositories": {
"wikichua/simplecontrolpanel": {
"type": "path",
"url": "/path/to/your/appName/packages/wikichua/simplecontrolpanel"
}
}
Alternative installation 2:
Need packager to ease your work
$ composer require jeroen-g/laravel-packager --dev
Import package from github
$ php artisan packager:git git@github.com:wikichua/simplecontrolpanel.git
Add this in your composer.json under scripts section:
"require-dev": {
"wikichua/simplecontrolpanel": "*"
},
Run composer update
Logging In
Visit (APP_URL)/admin
to access the admin panel.
The default admin login is:
Email Address: admin@example.com
Password: admin123