{"id":28439784,"url":"https://github.com/bkstar123/bkscms-admin-panel","last_synced_at":"2026-04-24T23:34:38.187Z","repository":{"id":56950968,"uuid":"205838365","full_name":"bkstar123/bkscms-admin-panel","owner":"bkstar123","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-03T08:23:25.000Z","size":107,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T19:57:44.146Z","etag":null,"topics":["admin-management","admin-panel","authenticaiton","authorization","laravel"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bkstar123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-02T11:05:14.000Z","updated_at":"2021-10-23T07:21:42.000Z","dependencies_parsed_at":"2022-08-21T08:21:03.234Z","dependency_job_id":null,"html_url":"https://github.com/bkstar123/bkscms-admin-panel","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/bkstar123/bkscms-admin-panel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fbkscms-admin-panel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fbkscms-admin-panel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fbkscms-admin-panel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fbkscms-admin-panel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkstar123","download_url":"https://codeload.github.com/bkstar123/bkscms-admin-panel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fbkscms-admin-panel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32245150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin-management","admin-panel","authenticaiton","authorization","laravel"],"created_at":"2025-06-06T03:05:56.884Z","updated_at":"2026-04-24T23:34:38.182Z","avatar_url":"https://github.com/bkstar123.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bkscms-admin-panel\n\n\u003e A bkstar123/bkscms's package adding an admin panel (with authentication \u0026 authorization features) for a **BKSCMS** project  \n\nFor creating a **BKSCMS** project, run the following command:  \n```composer create-project --prefer-dist bkstar123/bkscms \u003cyour-project\u003e```  \n\n## 1. Requirement\nIt is recommended to install this package with PHP version 7.1.3+ and Laravel Framework version 5.6+\n\n## 2. Installation\n    composer require bkstar123/bkscms-admin-panel\n\nThen, publish the package's configuration file (you do not need to do it if you run ```php artian bkscms:install``` to install the **BKSCMS** project):    \n```php artisan vendor:publish --provider=Bkstar123\\BksCMS\\AdminPanel\\Providers\\AdminPanelServiceProvider```  \n\n## 3. Usage\n\nThe package offers an artisan command ```php artisan bkscms:initAuth --scope=\u003cpermissions|all\u003e```  \n\nAll the following steps are not required if you run ```php artian bkscms:install``` to install the **BKSCMS** project.  \n- Create database tables  \n```php artisan migrate```  \n- Seed data to ***roles, admins, permissions*** tables and do other arrangements  \n```php artisan bkscms:initAuth --scope=all```  \n- Create full-text index for ***roles, permissions, admins*** tables  \n```php\nphp artisan mysql-search:init Bkstar123\\BksCMS\\AdminPanel\\Admin\nphp artisan mysql-search:init Bkstar123\\BksCMS\\AdminPanel\\Role\nphp artisan mysql-search:init Bkstar123\\BksCMS\\AdminPanel\\Permission\n```\n\nIt will create two users ***superadmin*** \u0026 ***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 \u0026 administrator*** users for security reason before rolling out to production environment.  \n\nLater, when you add more permissions to **permissions** key in **config/bkstar123_bkscms_adminpanel.php**, you can just run ```php artisan bkscms:initAuth --scope=permissions``` to re-initialize the permissions table  \n\nIn the controller, import \u0026 use the trait ***Bkstar123\\BksCMS\\AdminPanel\\Traits\\AuthorizationShield***, then you can place a call to ```$this-\u003ecapabilityCheck(\u003caction\u003e, \u003cresource\u003e)``` in every controller action that need to perform authorization check.  \n\n**Note**  \nThe package provides ***bkscms-auth*** \u0026 ***bkscms-guest*** middleware to replace ***auth*** \u0026 ***guest*** respectively for all CMS routes (i.e under the path ***/cms/\\****)  \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkstar123%2Fbkscms-admin-panel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkstar123%2Fbkscms-admin-panel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkstar123%2Fbkscms-admin-panel/lists"}