openjournalteam / core
Backend for Hosting Panel
Installs: 127
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: ^7.4|^8.0
- hexadog/laravel-themes-manager: ^1.8
- illuminate/support: ^8.0
- jantinnerezo/livewire-alert: ^2.2
- livewire/livewire: ^2.5
- nwidart/laravel-modules: 8.2.0
- octopyid/laravel-impersonate: 2
- pion/laravel-chunk-upload: ^1.4
- propaganistas/laravel-phone: ^4.3
- pusher/pusher-php-server: ^7.0
- shohel/pluggable: ^1.0
- spatie/crypto: ^2.0
- spatie/laravel-activitylog: ^4.5
- spatie/laravel-database-mail-templates: ^3.4
- spatie/laravel-medialibrary: ^9.0.0
- spatie/laravel-permission: ^4.2
- spatie/laravel-sluggable: ^3.1
- yajra/laravel-datatables-oracle: ~9.0
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.6
- nunomaduro/phpinsights: ^2.0
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is not auto-updated.
Last update: 2024-11-17 22:03:21 UTC
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.