Download the PHP package bkstar123/bkscms-admin-panel without Composer
On this page you can find all versions of the php package bkstar123/bkscms-admin-panel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bkstar123/bkscms-admin-panel
More information about bkstar123/bkscms-admin-panel
Files in bkstar123/bkscms-admin-panel
Package bkscms-admin-panel
Short Description A bkstar123/bkscms's package for authentication and authorization of admin users
License MIT
Informations about the package bkscms-admin-panel
bkscms-admin-panel
A bkstar123/bkscms's package adding an admin panel (with authentication & authorization features) for a BKSCMS project
For creating a BKSCMS project, run the following command:
1. Requirement
It is recommended to install this package with PHP version 7.1.3+ and Laravel Framework version 5.6+
2. Installation
composer require bkstar123/bkscms-admin-panel
Then, publish the package's configuration file (you do not need to do it if you run to install the BKSCMS project):
3. Usage
The package offers an artisan command
All the following steps are not required if you run to install the BKSCMS project.
-
Create database tables
-
Seed data to roles, admins, permissions tables and do other arrangements
- Create full-text index for roles, permissions, admins tables
It will create two users superadmin & administrator with passwords superadmin1@ and administrator1@ respectively. You can use these credentials to login and create your own users (you must assign superadmins role to at least one user). Finally, do not forget to remove/disable the default superadmin & administrator users for security reason before rolling out to production environment.
Later, when you add more permissions to permissions key in config/bkstar123_bkscms_adminpanel.php, you can just run to re-initialize the permissions table
In the controller, import & use the trait Bkstar123\BksCMS\AdminPanel\Traits\AuthorizationShield, then you can place a call to in every controller action that need to perform authorization check.
Note
The package provides bkscms-auth & bkscms-guest middleware to replace auth & guest respectively for all CMS routes (i.e under the path */cms/**)
All versions of bkscms-admin-panel with dependencies
bkstar123/flashing Version ^1.0
bkstar123/laravel-recaptcha Version ^1.1
bkstar123/laravel-uploader Version ^1.0
bkstar123/log-enhancer Version ^1.0
bkstar123/mysql-search Version ^1.0
bkstar123/bkscms-utilities Version ^1.0