PHPackages                             gorg/cas-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. gorg/cas-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

gorg/cas-bundle
===============

Implements CAS Authentication on your website

25336[2 issues](https://github.com/matgou/GorgCasBundle/issues)[1 PRs](https://github.com/matgou/GorgCasBundle/pulls)PHP

Since Nov 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/matgou/GorgCasBundle)[ Packagist](https://packagist.org/packages/gorg/cas-bundle)[ RSS](/packages/gorg-cas-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

README FILE
===========

[](#readme-file)

1. Introduction

---

This file will help you to install and configure the project.

2. Installation

---

### a) Add the bundle to your composer.json file at the project root

[](#a-add-the-bundle-to-your-composerjson-file-at-the-project-root)

```
"require": {
    ...
    "gorg/casbundle": "master"
},
"repositories": {
    "gorg": {
        "type": "package",
        "package": {
            "name": "gorg/casbundle",
            "version": "master",
            "source": {
                "url": "ssh://git@gofannon.gorgu.net:7999/GRAM/gorgcasbundle.git",
                "type": "git",
                "reference": "master"
            }
        }
    }
},

```

### b) Parameters Symfony sandbox for use GorgCasBundle

[](#b-parameters-symfony-sandbox-for-use-gorgcasbundle)

Please edit app/AppKernel.php file to update symfony Kernel

```
    $bundles = array(
        /*
         ...
        */
        new Gorg\Bundle\CasBundle\GorgCasBundle(),
    );

```

### b) Parameters Symfony sandbox for use GorgCasBundle

[](#b-parameters-symfony-sandbox-for-use-gorgcasbundle-1)

Please edit app/config/config.yml and add the following line

```
gorg_cas:
    user_class: Gorg\Bundle\UserBundle\Entity\User
    mapping_role_attribute: type
    mapping_username_attribute: username

```

### c) Parameters Symfony sandbox for use Gorg CAS Authentication

[](#c-parameters-symfony-sandbox-for-use-gorg-cas-authentication)

Please edit app/config/security.yml file to update symfony security policy

```
    # ...
    # If you want you can use a custom user provider
    # ...
    providers:
        CAS:
            id: cas.user_provider
# ...
    firewalls:
        dev:
            pattern:  ^/(_(profiler|wdt)|css|images|js)/
            security: false

        secured_area:
            pattern:    ^/demo/secured/
                cas:
                    cas_server: auth.gadz.org
                    cas_port: 443
                    cas_path: /cas/
                    ca_cert_path: ~
                    cas_protocol: S1
                    cas_mapping_attribute: username
                    cas_logout: /logout

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b67efc6c52995fe519459b0fe23f8d3b920cc4f4282fc420fc1424e1895f17de?d=identicon)[matgou](/maintainers/matgou)

---

Top Contributors

[![matgou](https://avatars.githubusercontent.com/u/1119417?v=4)](https://github.com/matgou "matgou (13 commits)")[![xcompass](https://avatars.githubusercontent.com/u/465548?v=4)](https://github.com/xcompass "xcompass (2 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")

### Embed Badge

![Health badge](/badges/gorg-cas-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/gorg-cas-bundle/health.svg)](https://phpackages.com/packages/gorg-cas-bundle)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
