PHPackages                             cradlephp/cradle-role - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cradlephp/cradle-role

ActiveCradle-package[Utility &amp; Helpers](/categories/utility)

cradlephp/cradle-role
=====================

Role Schema for CradlePHP

2.3.0(5y ago)01.3k31MITHTML

Since Mar 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/CradlePHP/cradle-role)[ Packagist](https://packagist.org/packages/cradlephp/cradle-role)[ RSS](/packages/cradlephp-cradle-role/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (4)Versions (39)Used By (1)

Roles
-----

[](#roles)

By default, all users are locked out from accessing anything in the system. Roles gives users permission to access certain parts of the system based on URL rules.

Install
-------

[](#install)

If you already installed Cradle, you may not need to install this because it should be already included.

```
composer install cradlephp/cradle-role
bin/cradle cradlephp/cradle-role install
bin/cradle cradlephp/cradle-role sql-populate

```

Updating to 0.1.\* From 0.0.1
-----------------------------

[](#updating-to-01-from-001)

```
composer update
cradle cradlephp/cradle-role update
bin/cradle cradlephp/cradle-role sql-populate

```

---

Contributing to Cradle PHP
==========================

[](#contributing-to-cradle-php)

Thank you for considering to contribute to Cradle PHP.

Please DO NOT create issues in this repository. The official issue tracker is located @  . Any issues created here will *most likely* be ignored.

Please be aware that master branch contains all edge releases of the current version. Please check the version you are working with and find the corresponding branch. For example `v1.1.1` can be in the `1.1` branch.

Bug fixes will be reviewed as soon as possible. Minor features will also be considered, but give me time to review it and get back to you. Major features will **only** be considered on the `master` branch.

1. Fork the Repository.
2. Fire up your local terminal and switch to the version you would like to contribute to.
3. Make your changes.
4. Always make sure to sign-off (-s) on all commits made (git commit -s -m "Commit message")

Making pull requests
--------------------

[](#making-pull-requests)

1. Please ensure to run [phpunit](https://phpunit.de/) and [phpcs](https://github.com/squizlabs/PHP_CodeSniffer) before making a pull request.
2. Push your code to your remote forked version.
3. Go back to your forked version on GitHub and submit a pull request.
4. All pull requests will be passed to [Travis CI](https://travis-ci.org/CradlePHP/cradle-role) to be tested. Also note that [Coveralls](https://coveralls.io/github/CradlePHP/cradle-role) is also used to analyze the coverage of your contribution.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~22 days

Recently: every ~127 days

Total

38

Last Release

2149d ago

Major Versions

0.2.0 → 2.1.x-dev2019-01-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/120378?v=4)[Christian Blanquera](/maintainers/cblanquera)[@cblanquera](https://github.com/cblanquera)

---

Top Contributors

[![cjzamora](https://avatars.githubusercontent.com/u/5561932?v=4)](https://github.com/cjzamora "cjzamora (16 commits)")[![mnlcandelaria](https://avatars.githubusercontent.com/u/4973565?v=4)](https://github.com/mnlcandelaria "mnlcandelaria (11 commits)")[![aprilsacil](https://avatars.githubusercontent.com/u/4941743?v=4)](https://github.com/aprilsacil "aprilsacil (2 commits)")[![vneugenio](https://avatars.githubusercontent.com/u/31558489?v=4)](https://github.com/vneugenio "vneugenio (1 commits)")[![kmrosaria](https://avatars.githubusercontent.com/u/17561632?v=4)](https://github.com/kmrosaria "kmrosaria (1 commits)")[![clark21](https://avatars.githubusercontent.com/u/5639521?v=4)](https://github.com/clark21 "clark21 (1 commits)")[![risenforward](https://avatars.githubusercontent.com/u/37665595?v=4)](https://github.com/risenforward "risenforward (1 commits)")

---

Tags

cradlecradlephproles-managementv2cradlecradlephp

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/cradlephp-cradle-role/health.svg)

```
[![Health](https://phpackages.com/badges/cradlephp-cradle-role/health.svg)](https://phpackages.com/packages/cradlephp-cradle-role)
```

###  Alternatives

[websharks/html-compressor

Combines &amp; compresses CSS/JS/HTML code.

407.1k1](/packages/websharks-html-compressor)[limewell/laravel-make-extender

This package helps to generate and autoload custom helpers, It can generate multilevel helpers in the context of the directory.

366.8k](/packages/limewell-laravel-make-extender)[linkorb/autotune

Tune your autoloader

177.0k17](/packages/linkorb-autotune)

PHPackages © 2026

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