daravel_permission 1.14.0
daravel_permission: ^1.14.0 copied to clipboard
Roles and permissions in the database for Daravel, on spatie/laravel-permission's tables, with middleware, gate integration and an in-memory cache.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add daravel_permissionWith Flutter:
$ flutter pub add daravel_permissionThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
daravel_permission: ^1.14.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:daravel_permission/daravel_permission.dart';