PHPackages                             rawphp/raw-guard - 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. rawphp/raw-guard

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

rawphp/raw-guard
================

Authorization library using roles and capabilities used by RawPHP framework and other applications.

0166PHP

Since Sep 27Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rawphp/RawGuard)[ Packagist](https://packagist.org/packages/rawphp/raw-guard)[ RSS](/packages/rawphp-raw-guard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

RawGuard - A Simple Roles and Capabilities Guard for PHP Applications
=====================================================================

[](#rawguard---a-simple-roles-and-capabilities-guard-for-php-applications)

[![Build Status](https://camo.githubusercontent.com/17d01f5aa62488ba04bf54f857310bcb321807265e9c3ab4ee7ed3df59b1b041/68747470733a2f2f7472617669732d63692e6f72672f7261777068702f52617747756172642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rawphp/RawGuard) [![Coverage Status](https://camo.githubusercontent.com/d578dc8dd456d584ada4604e6562e028c9dd9d1a6f82b3591bc53b2ddf58c46e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7261777068702f52617747756172642f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/rawphp/RawGuard?branch=master)

Package Features
----------------

[](#package-features)

-

Installation
------------

[](#installation)

### Composer

[](#composer)

RawGuard is available via [Composer/Packagist](https://packagist.org/packages/rawphp/raw-guard).

Add `"rawphp/raw-guard": "0.*@dev"` to the require block in your composer.json and then run `composer install`.

```
{
        "require": {
            "rawphp/raw-guard": "0.*@dev"
        }
}
```

You can also simply run the following from the command line:

```
composer require rawphp/raw-guard "0.*@dev"
```

### Tarball

[](#tarball)

Alternatively, just copy the contents of the RawGuard folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.

Basic Usage
-----------

[](#basic-usage)

Coming Soon

License
-------

[](#license)

This package is licensed under the [MIT](https://github.com/rawphp/RawGuard/blob/master/LICENSE). Read LICENSE for information on the software availability and distribution.

Contributing
------------

[](#contributing)

Please submit bug reports, suggestions and pull requests to the [GitHub issue tracker](https://github.com/rawphp/RawGuard/issues).

Changelog
---------

[](#changelog)

#### 25-09-2014

[](#25-09-2014)

- Initial Code Commit.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/c66ee84d4063a7665c742b3965fc359e1908d02ecb93c54af32c7594d0b2f748?d=identicon)[rawphp](/maintainers/rawphp)

### Embed Badge

![Health badge](/badges/rawphp-raw-guard/health.svg)

```
[![Health](https://phpackages.com/badges/rawphp-raw-guard/health.svg)](https://phpackages.com/packages/rawphp-raw-guard)
```

###  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)
