junior-shyko/keycloak-integ-php

Pacote php para integração do SSO Keycloak com php

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:package

pkg:composer/junior-shyko/keycloak-integ-php

v1.0.1 2024-12-08 22:18 UTC

This package is auto-updated.

Last update: 2025-09-19 03:58:04 UTC


README

Instalação

composer require junior-shyko/keycloak-integ-php

💡 - Instalação

    require  __DIR__.'/vendor/autoload.php';
    
    use JuniorShyko\Phpextensive\Extensive;

🚀 Rota

1- Adicionar no arquivo web.yaml

   ``web_keycloak:
	  resource: 'junior_shyko_keycloak.yaml'
	  name_prefix: junior_shyko_keycloak_auth_``

2- Criar o arquivo junior_shyko_keycloak.yaml

connect:
    path:       /auth/keycloak/connect
	controller: Junior\KeycloakIntegPhp\Controller\KeycloakController::connect

3 - Adicionar no arquivo services.yaml

    JuniorShyko\KeycloakIntegPhp\Controller\KeycloakController:
        autowire: true
        autoconfigure: true
        public: true