friparia / admin
customized mvc to build admin easily
Installs: 53
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 2
pkg:composer/friparia/admin
Requires
- tymon/jwt-auth: 0.5.*
This package is not auto-updated.
Last update: 2025-10-25 23:58:51 UTC
README
A admin framework of laravel
Requirement
- Laravel 5
Installation
- run
composer require "friparia/admin:dev-master" - add a line in providers in
config/app.phpFriparia\Admin\AdminServiceProvider::class, - run
npm i -S vue-router vue-resource pug vue-style-loader element-ui stylus stylus-loader - in your webpack.mix.js add
.js('./resources/assets/friparia/admin/admin.js', 'public/js')
and
mix.webpackConfig({ resolve:{ alias: { 'vue-router$': 'vue-router/dist/vue-router.common.js' } } });
- rm default users table migrations and run
php artisan vendor:publish - run
php artisan migrate - run
php artisan jwt:generate - change config/auth
$config['providers']['users']['model']value to "\Friparia\Admin\Models\User" - create a superuser
php artisan admin:create-superuser - run
npm run dev - see
/adminin your browser