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
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-09-12