Download the PHP package nawasara/keycloak without Composer

On this page you can find all versions of the php package nawasara/keycloak. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package keycloak

Nawasara Keycloak

Keycloak SSO admin dashboard for the Nawasara superapp framework. Manage users and clients without leaving Nawasara, backed by local DB snapshots for speed and queue jobs for write auditability.

Features

Installation

Auto-discovered by Laravel.

Keycloak setup

The package authenticates to Keycloak via the client credentials flow with a confidential client that has admin privileges on the target realm.

  1. In the Keycloak admin console, open the realm you want to manage.
  2. Clients → Create client:
    • Client type: OpenID Connect
    • Client ID: e.g. nawasara-admin
    • Client authentication: On
    • Authentication flow: tick Service accounts roles only
  3. After creation, open the new client → Service Account Roles tab → Assign role:
    • realm-management → grant manage-users, manage-clients, view-users, view-clients, view-realm, view-events (and any others you need)
  4. Open the Credentials tab and copy the client secret.

Storing credentials in Vault

  1. Open Nawasara → /nawasara-vault
  2. Select the Keycloak SSO group
  3. Fill in:
    • Base URL — e.g. https://sso.kominfo.go.id
    • Realm — the realm you grant admin access to (e.g. master, kominfo)
    • Client ID — from step 2 above
    • Client Secret — from step 4 above
  4. Save

Click Test Connection in the credential dropdown to verify. A successful test reports the realm's user count.

Pages

Route Permission
/nawasara-keycloak/users keycloak.user.view
/nawasara-keycloak/clients keycloak.client.view
/nawasara-keycloak/sessions keycloak.session.view

Permissions

Permission Description
keycloak.user.view View user list and detail
keycloak.user.manage Toggle enable/disable, reset password
keycloak.user.reset_password Reset a user's password
keycloak.client.view View client list and detail
keycloak.client.manage Create / edit / delete client, regenerate secret
keycloak.client.reveal_secret Reveal client secret
keycloak.session.view View active sessions
keycloak.session.revoke Revoke a session

Author

Pringgo J. Saputro <[email protected]>

License

MIT


All versions of keycloak with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^12.0
spatie/laravel-permission Version ^6.0
nawasara/ui Version *
nawasara/sync Version *
nawasara/vault Version *
livewire/livewire Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nawasara/keycloak contains the following files

Loading the files please wait ...