Skip to content

v0.0.22

Pre-release
Pre-release

Choose a tag to compare

@JosephSilber JosephSilber released this 22 Nov 19:39
· 557 commits to master since this release

You can now extend the built-in Ability & Role model classes.

After creating your own models, register them with the bouncer:

Bouncer::useAbilityModel(MyAbility::class);

Bouncer::useRoleModel(MyRole::class);

You can also use this to override the default table names; the migrations will use whatever table names you specified in your own models.