openjournalteam/core 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

openjournalteam/core

最新稳定版本:v1.0.2

Composer 安装命令:

composer require openjournalteam/core

包简介

Backend for Hosting Panel

README 文档

README

Installation

You can install the package via composer:

composer require openjournalteam/core

Usage

Run the following to install:

php artisan core:install
php artisan notifications:table

Migrate

  • Set database connection in env file before migrating
php artisan migrate

Edit config/auth.php and change the following lines:

'providers' => [
    'users' => [
        'driver' => 'eloquent',
        'model' => App\User::class,
    ],
],

To

'providers' => [
  'users' => [
            'driver' => 'eloquent',
            'model' => OpenJournalTeam\Core\Models\User::class,
        ],
],

Edit AuthServiceProvider.php and add the following lines on the boot method:

    Gate::before(function ($user, $ability) {
            return $user->hasRole(Role::SUPER_ADMIN) ? true : null;
    });

and import the following namespaces:

use Illuminate\Support\Facades\Gate;
use OpenJournalTeam\Core\Models\Role;

Serve Laravel

php artisan serve

Access the admin panel

http://localhost:8000/panel

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email rahmanramsi19@gmail.com instead of using the issue tracker.

Credits

统计信息

  • 总下载量: 177
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2022-09-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固