GitHub - kjjdion/laravel-admin-panel: Laravel Admin Panel ("LAP") is a...
source link: https://github.com/kjjdion/laravel-admin-panel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
readme.md
Laravel Admin Panel
Laravel Admin Panel ("LAP") is a drop-in admin panel package for Laravel which promotes rapid scaffolding & development.
Features:
- CRUD generator
- Demo mode
- Roles & permissions
- Laravel auth integration
- User timezones (automatically set on login)
- Dynamic model fillables (using database table columns)
- Activity logs
- Settings (stored in database)
- Fully responsive (looks great on desktop & mobile)
- AJAX form validation
- Documentation CRUD
- & much more
Packages used:
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 kjjdion/laravel-admin-panel
Publish install files:
php artisan vendor:publish --provider="Kjjdion\LaravelAdminPanel\LapServiceProvider" --tag="install"
This will create the following files:
config/lap.php
public/lap/*.*
resources/views/vendor/lap/*.*
app/Http/Controllers/Admin/BackendController.php
Add the AdminUser
, DynamicFillable
, and UserTimezone
traits to your User
model:
use Kjjdion\LaravelAdminPanel\Traits\AdminUser;
use Kjjdion\LaravelAdminPanel\Traits\DynamicFillable;
use Kjjdion\LaravelAdminPanel\Traits\UserTimezone;
class User extends Authenticatable
{
use Notifiable, AdminUser, DynamicFillable, UserTimezone;
Run the migrations:
php artisan migrate
Logging In
Visit (APP_URL)/admin
to access the admin panel.
The default admin login is:
Email Address: [email protected]
Password: admin123
Digging Deeper
Please see the documentation for more information.
Contributing
Support
Please use GitHub issues for support.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK